Properties

$beforeBlocks

$beforeBlocks : array<mixed,\Dewdrop\View\Block>

Type

array<mixed,\Dewdrop\View\Block>

$afterBlocks

$afterBlocks : array<mixed,\Dewdrop\View\Block>

Type

array<mixed,\Dewdrop\View\Block>

$removed

$removed : boolean

Type

boolean

$name

$name : string

Type

string

$debug

$debug : boolean

Type

boolean

Methods

__construct()

__construct(\Dewdrop\View\View  $view,   $name = '') 

Parameters

\Dewdrop\View\View $view
$name

setDebug()

setDebug(  $debug) 

Parameters

$debug

setContent()

setContent(  $content) 

Parameters

$content

resetContent()

resetContent() 

before()

before(  $content) 

Parameters

$content

replaceWith()

replaceWith(  $content) 

Parameters

$content

remove()

remove() 

after()

after(  $content) 

Parameters

$content

open()

open() 

close()

close() 

fromCallable()

fromCallable(callable  $callable) 

Parameters

callable $callable

renderContent()

renderContent() 

normalizeContent()

normalizeContent(  $content) 

Parameters

$content

renderDebugOpenTag()

renderDebugOpenTag() 

renderDebugCloseTag()

renderDebugCloseTag()