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.
doc_Symfony
2016-10-28 06:13:57
Comments
Leave a Comment

Please login to continue.