TagTrait
trait TagTrait
Methods
$this | tag(string $name, array $attributes = array()) Adds a tag for this definition. |
Details
final $this tag(string $name, array $attributes = array())
Adds a tag for this definition.
Parameters
string | $name | The tag name |
array | $attributes | An array of attributes |
Return Value
$this |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/TagTrait.html