EntryInterface
interface EntryInterface (View source)
Interface to facilitate different kinds of container entries.
Methods
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 24
static EntryInterface
createFromCacheParameters(array $parameters)
Initializes the entry from the given container cache parameters.
at line 31
array
getCacheParameters()
Returns the container cache parameters for the entry.
at line 37
bool
isFactory()
Tells if we should not cache the value because the entry is a factory.
at line 46
mixed
getValue(ContainerInterface $container)
Returns the value for the container entry.