W3cubDocs

/Symfony 4.1

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