phpDocumentor

Tags implements JsonSerializable, IteratorAggregate

Class Tags

Interfaces, Classes and Traits

JsonSerializable
IteratorAggregate

Table of Contents

$tags  : array<string|int, Tag>
create()  : Tags
getIterator()  : Traversable|array<string|int, Tag>
jsonSerialize()  : array<string|int, mixed>
__construct()  : mixed
Tags constructor.

Properties

$tags

private array<string|int, Tag> $tags

Methods

create()

public static create(Tag ...$tags) : Tags
Parameters
$tags : Tag
Return values
Tags

getIterator()

public getIterator() : Traversable|array<string|int, Tag>
Return values
Traversable|array<string|int, Tag>

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

Returns array of objects, that matches the Tag schema from "configuration.schema.json".

__construct()

Tags constructor.

private __construct(array<string|int, Tag...$tags) : mixed
Parameters
$tags : array<string|int, Tag>
Return values
mixed

Search results