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.
$this
row($content)
Add one row for content body.
string
build()
Build html of content.
render()
Render this content.
Details
at line 39
__construct(Closure $callback = null)
Content constructor.
at line 54
$this
title(string $title)
No description
at line 68
$this
description(string $description = '')
Set description of content.
at line 82
mixed
body(mixed $content)
Alias of method row.
at line 103
$this
row($content)
Add one row for content body.
at line 125
Content
view(string $view, array $data)
Render giving view as content body.
at line 135
Content
dump($var)
No description
at line 145
string
build()
Build html of content.
at line 164
render()
Render this content.
at line 182
protected
addRow(Row $row)
Add Row.