AutowireServiceResource

class AutowireServiceResource implements SelfCheckingResourceInterface, Serializable Methods __construct($class, $path, array $autowiringMetadata) bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. string __toString() Returns a string representation of the Resource. serialize() unserialize($serialized) getResource() deprecated Details __construct($class, $path, array $autowi

AutowirePass::process()

process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

AutowirePass::createResourceForClass()

static AutowireServiceResource createResourceForClass(ReflectionClass $reflectionClass) Creates a resource to help know if this service has changed. Parameters ReflectionClass $reflectionClass Return Value AutowireServiceResource

AutowirePass

class AutowirePass implements CompilerPassInterface Guesses constructor arguments of services definitions and try to instantiate services if necessary. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. static AutowireServiceResource createResourceForClass(ReflectionClass $reflectionClass) Creates a resource to help know if this service has changed. Details process(ContainerBuilder $contain

AutoExpireFlashBag::setName()

setName($name) Parameters $name

AutoExpireFlashBag::setAll()

setAll(array $messages) Sets all flash messages. Parameters array $messages

AutoExpireFlashBag::peekAll()

array peekAll() Gets all flash messages. Return Value array

AutoExpireFlashBag::peek()

array peek(string $type, array $default = array()) Gets flash messages for a given type. Parameters string $type Message category type array $default Default value if $type does not exist Return Value array

AutoExpireFlashBag::keys()

array keys() Returns a list of all defined types. Return Value array

AutoExpireFlashBag::initialize()

initialize(array $flashes) Initializes the Bag. Parameters array $flashes