DelegatingEngine

class DelegatingEngine implements EngineInterface, StreamingEngineInterface DelegatingEngine selects an engine for a given template. Methods __construct(array $engines = array()) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. bool exists(string|TemplateReferenceInterface $name) Returns true if the template ex

DelegatingEngine

class DelegatingEngine extends DelegatingEngine implements EngineInterface DelegatingEngine selects an engine for a given template. Methods __construct(ContainerInterface $container, array $engineIds) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. from DelegatingEngine stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. from DelegatingEngine bool exists(string|T

DefinitionDecorator::setPublic()

Definition setPublic(bool $boolean) Sets the visibility of this service. Parameters bool $boolean Return Value Definition The current instance

DefinitionDecorator::setLazy()

Definition setLazy($boolean) Sets the lazy flag of this service. Parameters $boolean Return Value Definition The current instance

DefinitionDecorator::setFile()

Definition setFile(string $file) Sets a file to require before creating the service. Parameters string $file A full pathname to include Return Value Definition The current instance

DefinitionDecorator::setFactory()

Definition setFactory($callable) Sets a factory. Parameters $callable Return Value Definition The current instance

DefinitionDecorator::setDeprecated()

Definition setDeprecated($boolean = true, string $template = null) Whether this definition is deprecated, that means it should not be called anymore. Parameters $boolean string $template Template message to use if the definition is deprecated Return Value Definition the current instance Exceptions InvalidArgumentException When the message template is invalid.

DefinitionDecorator::setDecoratedService()

Definition setDecoratedService(null|string $id, null|string $renamedId = null, int $priority) Sets the service that this service is decorating. Parameters null|string $id The decorated service id, use null to remove decoration null|string $renamedId The new decorated service id int $priority The priority of decoration Return Value Definition The current instance Exceptions InvalidArgumentException In case the decorated service id and the new decorated service id are equals.

DefinitionDecorator::setConfigurator()

Definition setConfigurator(callable $callable) Sets a configurator to call after the service is fully initialized. Parameters callable $callable A PHP callable Return Value Definition The current instance

DefinitionDecorator::setClass()

Definition setClass(string $class) Sets the service class. Parameters string $class The service class Return Value Definition The current instance