WiredEntry
class WiredEntry implements EntryInterface (View source)
Represents an entry that is wired based on constructor arguments.
Methods
__construct(string $class, array $arguments)
WiredEntry 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 26
__construct(string $class, array $arguments)
WiredEntry constructor.
at line 42
static EntryInterface
createFromCacheParameters(array $parameters)
Initializes the entry from the given container cache parameters.
at line 53
array
getCacheParameters()
Returns the container cache parameters for the entry.
at line 62
bool
isFactory()
Tells if we should not cache the value because the entry is a factory.
at line 68
mixed
getValue(ContainerInterface $container)
Returns the value for the container entry.