PHP Класс Invoker\CallableResolver

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

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

Метод Описание
__construct ( Interop\Container\ContainerInterface $container )
resolve ( callable | string | array $callable ) : callable Resolve the given callable into a real PHP callable.

Приватные методы

Метод Описание
isStaticCallToNonStaticMethod ( mixed $callable ) : boolean Check if the callable represents a static call to a non-static method.
resolveFromContainer ( callable | string | array $callable ) : callable

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

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

public __construct ( Interop\Container\ContainerInterface $container )
$container Interop\Container\ContainerInterface

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

Resolve the given callable into a real PHP callable.
public resolve ( callable | string | array $callable ) : callable
$callable callable | string | array
Результат callable Real PHP callable.