BladeCompiler::directive()

void directive(string $name, callable $handler) Register a handler for custom directives. Parameters string $name callable $handler Return Value void

BladeCompiler::compileString()

string compileString(string $value) Compile the given Blade template contents. Parameters string $value Return Value string

BladeCompiler::compileEchoDefaults()

string compileEchoDefaults(string $value) Compile the default values for the echo statement. Parameters string $value Return Value string

BladeCompiler::compile()

void compile(string $path = null) Compile the view at the given path. Parameters string $path Return Value void

BladeCompiler

BladeCompiler class BladeCompiler extends Compiler implements CompilerInterface (View source) Methods void __construct(Filesystem $files, string $cachePath) Create a new compiler instance. from Compiler string getCompiledPath(string $path) Get the path to the compiled version of a view. from Compiler bool isExpired(string $path) Determine if the view at the given path is expired. from Compiler void compile(string $path = null) Compile the view at the given path. string ge

Blade::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

Blade::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Blade::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Blade::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

Blade::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed