|
@@ -0,0 +1,31 @@
|
|
|
|
+<?php
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * This file is part of Composer.
|
|
|
|
+ *
|
|
|
|
+ * (c) Nils Adermann <naderman@naderman.de>
|
|
|
|
+ * Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
+ *
|
|
|
|
+ * For the full copyright and license information, please view the LICENSE
|
|
|
|
+ * file that was distributed with this source code.
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+namespace Composer\Installer;
|
|
|
|
+
|
|
|
|
+use Composer\Package\PackageInterface;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * Interface for the package installation manager that handle binary installation.
|
|
|
|
+ *
|
|
|
|
+ * @author Konstantin Kudryashov <ever.zet@gmail.com>
|
|
|
|
+ * @author Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
+ */
|
|
|
|
+interface InstallerBinaryInterface
|
|
|
|
+{
|
|
|
|
+ /**
|
|
|
|
+ * Installs binary file for a specific package.
|
|
|
|
+ *
|
|
|
|
+ * @param PackageInterface $package package instance
|
|
|
|
+ */
|
|
|
|
+ public function installBinary(PackageInterface $package);
|
|
|
|
+}
|