Property | Type | Description | |
---|---|---|---|
$instances | Kraken\Container\ServiceProviderInterface[] | ||
$obtainableIn | string[] | ||
$ordered | bool[] | ||
$pvds | string[][] | ||
$reqs | string[][] |
Method | Description | |
---|---|---|
__destruct ( ) | ||
sortProviders ( Kraken\Container\ServiceProviderInterface[] $providers ) : Kraken\Container\ServiceProviderInterface[] | Analyze required and provided dependencies of providers and sort the list to ensure right order while resolving dependency tree. |
Method | Description | |
---|---|---|
orderProvider ( Kraken\Container\ServiceProviderInterface $provider ) : string[] | ||
orderResource ( string $resourceName, &$localStack = [] ) : string[] |
public sortProviders ( Kraken\Container\ServiceProviderInterface[] $providers ) : Kraken\Container\ServiceProviderInterface[] | ||
$providers | Kraken\Container\ServiceProviderInterface[] | |
return | Kraken\Container\ServiceProviderInterface[] |
protected ServiceProviderInterface[],Kraken\Container $instances | ||
return | Kraken\Container\ServiceProviderInterface[] |