Content
class Content implements Renderable
Properties
protected string | $title | Content title. |
|
protected string | $description | Content description. |
|
protected Row[] | $rows |
Methods
$this
title(string $title)
No description
$this
description(string $description = '')
Set description of content.
mixed
body(mixed $content)
Alias of method row.
string
build()
Build html of content.
render()
Render this content.
Details
at line 37
__construct(Closure $callback = null)
Content constructor.
at line 49
$this
title(string $title)
No description
at line 63
$this
description(string $description = '')
Set description of content.
at line 77
mixed
body(mixed $content)
Alias of method row.
at line 98
Content
row($content)
Add one row for content body.
at line 120
Content
view(string $view, array $data)
Render giving view as content body.
at line 130
Content
dump($var)
No description
at line 140
string
build()
Build html of content.
at line 155
render()
Render this content.
at line 173
protected
addRow(Row $row)
Add Row.