ProviderEntry
class ProviderEntry implements EntryInterface (View source)
Container entry that loads the value using a separate entry provider.
Methods
__construct(callable $providerMethod)
ProviderEntry constructor.
static EntryInterface
createFromCacheParameters(array $parameters)
Initializes the entry from the given container cache parameters.
array
getCacheParameters()
Returns the container cache parameters for the entry.
bool
isFactory()
Tells if we should not cache the value because the entry is a factory.
mixed
getValue(ContainerInterface $container)
Returns the value for the container entry.
Details
at line 27
__construct(callable $providerMethod)
ProviderEntry constructor.
at line 58
static EntryInterface
createFromCacheParameters(array $parameters)
Initializes the entry from the given container cache parameters.
at line 72
array
getCacheParameters()
Returns the container cache parameters for the entry.
at line 81
bool
isFactory()
Tells if we should not cache the value because the entry is a factory.
at line 87
mixed
getValue(ContainerInterface $container)
Returns the value for the container entry.