X7ROOT File Manager
Current Path:
/opt/cpanel/ea-wappspector/vendor/php-di/php-di/src
opt
/
cpanel
/
ea-wappspector
/
vendor
/
php-di
/
php-di
/
src
/
??
..
??
Attribute
??
CompiledContainer.php
(4.17 KB)
??
Compiler
??
Container.php
(13.29 KB)
??
ContainerBuilder.php
(10.33 KB)
??
Definition
??
DependencyException.php
(224 B)
??
Factory
??
FactoryInterface.php
(996 B)
??
Invoker
??
NotFoundException.php
(263 B)
??
Proxy
??
functions.php
(4.36 KB)
Editing: FactoryInterface.php
<?php declare(strict_types=1); namespace DI; /** * Describes the basic interface of a factory. * * @api * * @since 4.0 * @author Matthieu Napoli <matthieu@mnapoli.fr> */ interface FactoryInterface { /** * Resolves an entry by its name. If given a class name, it will return a new instance of that class. * * @param string $name Entry name or a class name. * @param array $parameters Optional parameters to use to build the entry. Use this to force specific * parameters to specific values. Parameters not defined in this array will * be automatically resolved. * * @throws \InvalidArgumentException The name parameter must be of type string. * @throws DependencyException Error while resolving the entry. * @throws NotFoundException No entry or class found for the given name. */ public function make(string $name, array $parameters = []) : mixed; }
Upload File
Create Folder