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

CompilesJs

Methods

protected

compileJs ( string $expression ) : string

Compile the "@js" directive into valid PHP.

Parameters

  • $expression string