Search

Showing 7 of 2,041 result(s)

/blade-parser/v1/the-compiler#content-replacing-the-core-blade-compiler

…ravel itself. The main issues likely to arise are subtle differences produced by any feature that directly type-hints Laravel's Illuminate\View\Compilers\BladeCompiler class. However, extreme efforts have been made to ensure the compiler...

/blade-parser/v1/the-compiler#content-getprecompilers

Returns the configured precompilers. 1 <?php 2   3 public function getPrecompilers () : array ;

/blade-parser/v1/the-compiler#content-getechohandlers

Returns all configured echo handlers. 1 <?php 2   3 public function getEchoHandlers () : array ;

/blade-parser/v1/the-validate-command#content-core-validators

The Blade Parser library provides many validation rules out of the box. You can learn more about each of them in the following sections.

/blade-parser/v1/the-validate-command#content-directive-spacing

Class : DirectiveSpacingValidator The directive spacing validator emits a validation error when a directive does not have sufficient leading or trailing whitespace. The following template: 1 < span class = " @if @endif " ></ span > produces the...

/blade-parser/v1/the-validate-command#content-debug-directives

Class : DebugDirectiveValidator The debug directives validator emits a validation error if any debug directives appear within a template. The following template: 1 @dd ($args) would produce the following validation message: 1 Debug directive [@dd]...

/blade-parser/v1/workspaces#content-hasanydirectives

Tests if the workspace contains any Blade directives. 1 <?php 2   3 public function hasAnyDirectives () : bool ;