trait DeprecateTrait
$this | deprecate(string $template = null) Whether this definition is deprecated, that means it should not be called anymore. |
Whether this definition is deprecated, that means it should not be called anymore.
string | $template | Template message to use if the definition is deprecated |
$this |
InvalidArgumentException | when the message template is invalid |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/DeprecateTrait.html