Submit
Path:
~
/
/
opt
/
psa
/
admin
/
plib
/
vendor
/
laminas
/
laminas-servicemanager
/
src
/
Factory
/
File Content:
DelegatorFactoryInterface.php
<?php declare(strict_types=1); namespace Laminas\ServiceManager\Factory; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; use Laminas\ServiceManager\Exception\ServiceNotFoundException; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; /** * Delegator factory interface. * * Defines the capabilities required by a delegator factory. Delegator * factories are used to either decorate a service instance, or to allow * decorating the instantiation of a service instance (for instance, to * provide optional dependencies via setters, etc.). */ interface DelegatorFactoryInterface { /** * A factory that creates delegates of a given service * * @param string $name * @psalm-param callable():mixed $callback * @param null|array<mixed> $options * @return object * @throws ServiceNotFoundException If unable to resolve the service. * @throws ServiceNotCreatedException If an exception is raised when creating a service. * @throws ContainerExceptionInterface If any other error occurs. */ public function __invoke(ContainerInterface $container, $name, callable $callback, ?array $options = null); }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
AbstractFactoryInterface.php
899 bytes
0644
DelegatorFactoryInterface.php
1231 bytes
0644
FactoryInterface.php
1116 bytes
0644
InvokableFactory.php
759 bytes
0644
N4ST4R_ID | Naxtarrr