Psr2 Code Generator

AbstractModel

Parent of all models.

Tags
author

Thomas Gossmann

Table of Contents

$description  : string
getDescription()  : string
Returns this description.
setDescription()  : $this
Sets the description, which will also be used when generating a docblock.
setMultilineDescription()  : $this
Sets a multi-line description, which will also be used when generating a docblock.

Properties

Methods

getDescription()

Returns this description.

public getDescription() : string
Return values
string

setDescription()

Sets the description, which will also be used when generating a docblock.

public setDescription(string $description) : $this
Parameters
$description : string
Return values
$this

setMultilineDescription()

Sets a multi-line description, which will also be used when generating a docblock.

public setMultilineDescription(array<string|int, mixed> $description) : $this

Each line is a value of the $description array.

Parameters
$description : array<string|int, mixed>
Return values
$this

Search results