⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.231
Server IP:
104.21.112.1
Server:
Linux vmi2315822.contaboserver.net 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.3.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
php
/
Composer
/
Package
/
Loader
/
View File Name :
LoaderInterface.php
<?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\Package\Loader; use Composer\Package\CompletePackageInterface; use Composer\Package\CompletePackage; use Composer\Package\CompleteAliasPackage; use Composer\Package\RootAliasPackage; use Composer\Package\RootPackage; /** * Defines a loader that takes an array to create package instances * * @author Jordi Boggiano <j.boggiano@seld.be> */ interface LoaderInterface { /** * Converts a package from an array to a real instance * * @template PackageClass of CompletePackageInterface * * @param mixed[] $config package data * @param string $class FQCN to be instantiated * * @return CompletePackage|CompleteAliasPackage|RootPackage|RootAliasPackage * * @phpstan-param class-string<PackageClass> $class */ public function load(array $config, $class = 'Composer\Package\CompletePackage'); }