NameableCollectionInterface

Marker interface for a collection class with title and description

Collections might be used internally as well as being shown with the nameable interface a title and a description are added to a collection, allowing every collection implementing Nameable being displayed by the same logic.

Table of Contents

Methods

getDescription()  : mixed
Getter for the description
getTitle()  : string
Getter for the title
setDescription()  : mixed
Setter for the description
setTitle()  : mixed
Setter for the title

Methods

getDescription()

Getter for the description

public getDescription() : mixed

getTitle()

Getter for the title

public getTitle() : string
Return values
string

setDescription()

Setter for the description

public setDescription(string $description) : mixed
Parameters
$description : string

setTitle()

Setter for the title

public setTitle(string $title) : mixed
Parameters
$title : string

        
On this page

Search results