phpDocumentor

MenuItem

Class MenuItem

Table of Contents

$id  : string
$isActive  : bool
$title  : string
$url  : string
__construct()  : mixed
MenuItem constructor.
id()  : string
isActive()  : bool
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

MenuItem constructor.

public __construct(string $title, string $url, bool $isActive) : mixed
Parameters
$title : string
$url : string
$isActive : bool
Return values
mixed

id()

public id() : string
Return values
string

isActive()

public isActive() : bool
Return values
bool

toArray()

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

Search results