Метод | Описание | |
---|---|---|
__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 |
public checkForCircularReference ( string $key ) | ||
$key | string |
public static createFrom ( self $resolving = null, string $key ) : self | ||
$resolving | self | |
$key | string | |
Результат | self |