class Demo implements Renderable

Properties

protected string $title

Content title.

protected string $description

Content description.

Methods

__construct(Closure $callback = null)

Content constructor.

title(string $title)

No description

description(string $description = '')

Set description of content.

render()

Render this content.

Details

at line 34
__construct(Closure $callback = null)

Content constructor.

Parameters

Closure $callback

Exceptions

PoppyException

at line 49
Demo title(string $title)

No description

Parameters

string $title

Return Value

Demo

at line 60
Demo description(string $description = '')

Set description of content.

Parameters

string $description

Return Value

Demo

at line 70
render()

Render this content.

Exceptions

Throwable