PHP Класс Nelmio\Alice\Generator\Resolver\ResolvingContext

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( string $key = null )
add ( string $key )
checkForCircularReference ( string $key )
createFrom ( self $resolving = null, string $key ) : self Returns the existing instance if is an object or create a new one otherwise. It also ensure that the key will be added also it won't increment the counter if already present.
has ( string $key ) : boolean

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

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

public __construct ( string $key = null )
$key string

add() публичный метод

public add ( string $key )
$key string

checkForCircularReference() публичный метод

public checkForCircularReference ( string $key )
$key string

createFrom() публичный статический метод

Returns the existing instance if is an object or create a new one otherwise. It also ensure that the key will be added also it won't increment the counter if already present.
public static createFrom ( self $resolving = null, string $key ) : self
$resolving self
$key string
Результат self

has() публичный метод

public has ( string $key ) : boolean
$key string
Результат boolean