trait CompilesJs (View source)

Methods

string
compileJs(string $expression)

Compile the "@js" directive into valid PHP.

Details

protected string compileJs(string $expression)

Compile the "@js" directive into valid PHP.

Parameters

string $expression

Return Value

string