Documentation

AlignFormatter
in package
implements Formatter

Interfaces, Classes and Traits

Formatter

Table of Contents

$maxLen  : int
__construct()  : mixed
format()  : string
Formats the given tag to return a simple plain text version.

Properties

Methods

__construct()

public __construct(array<string|int, Tag$tags) : mixed
Parameters
$tags : array<string|int, Tag>

All tags that should later be aligned with the formatter.

Return values
mixed

format()

Formats the given tag to return a simple plain text version.

public format(Tag $tag) : string
Parameters
$tag : Tag
Return values
string

Search results