Chords

Chord
in package
implements Node

Chord within song lyrics.

Interfaces, Classes, Traits and Enums

Node
Lyrical node.

Table of Contents

$name  : string
Chord name.
$print  : bool
Should the chord be included in printed output?
__construct()  : mixed
accept()  : void
Accepts the given visitor.
getName()  : string
isPrint()  : bool

Properties

$name

Chord name.

private string $name

$print

Should the chord be included in printed output?

private bool $print

Methods

__construct()

public __construct(string $name, bool $print) : mixed
Parameters
$name : string

chord name

$print : bool

include in print output?

Return values
mixed

getName()

public getName() : string
Return values
string

chord name

isPrint()

public isPrint() : bool
Return values
bool

include in print output?

Search results