TagTrait
Table of Contents
Methods
- tag() : $this
- Adds a tag for this definition.
- validateAttributes() : void
Methods
tag()
Adds a tag for this definition.
public
final tag(string $name[, array<string|int, mixed> $attributes = [] ]) : $this
Parameters
- $name : string
- $attributes : array<string|int, mixed> = []
Return values
$thisvalidateAttributes()
private
validateAttributes(string $tag, array<string|int, mixed> $attributes[, array<string|int, mixed> $path = [] ]) : void
Parameters
- $tag : string
- $attributes : array<string|int, mixed>
- $path : array<string|int, mixed> = []