PHP Интерфейс DI\Definition\SelfResolvingDefinition

Автор: Matthieu Napoli ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
isResolvable ( Interop\Container\ContainerInterface $container ) : boolean Check if a definition can be resolved.
resolve ( Interop\Container\ContainerInterface $container ) : mixed Resolve the definition and return the resulting value.

Описание методов

isResolvable() публичный Метод

Check if a definition can be resolved.
public isResolvable ( Interop\Container\ContainerInterface $container ) : boolean
$container Interop\Container\ContainerInterface
Результат boolean

resolve() публичный Метод

Resolve the definition and return the resulting value.
public resolve ( Interop\Container\ContainerInterface $container ) : mixed
$container Interop\Container\ContainerInterface
Результат mixed