trait Illuminate / View / Compilers / Concerns / CompilesFragments
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

CompilesFragments

Properties

protected

$lastFragment string

The last compiled fragment.

Default: null

Methods

protected

compileFragment ( $expression ) : string

Compile the fragment statements into valid PHP.

Parameters

  • $expression string
protected

compileEndfragment ( ) : string

Compile the end-fragment statements into valid PHP.