Search

Showing 7 of 1,975 result(s)

/blade-parser/v1/parsing#content-withoutcoredirectives

Removes support for all core Blade directives. 1 <?php 2   3 use Stillat\BladeParser\Parser\DocumentParser ; 4   5 public function withoutCoreDirectives () : DocumentParser ;

/blade-parser/v1/parsing#content-hasfatalerrors

Tests if any fatal errors are present. 1 <?php 2   3 public function hasFatalErrors () : bool ;

/blade-parser/v1/the-validate-command#content-recursive-includes-validator

…l attempt to detect possible recursive @include directives. The following template (with filename test.blade.php ): 1 @include ( 'test' ) produces the following validation error message: 1 Possible infinite recursion detected near...

/blade-parser/v1/validation#content-addvalidator

Registers a single node validator instance with the BladeValidator instance. Argument Description $validator The node validator instance. 1 <?php 2   3 use Stillat\BladeParser\Validation\AbstractNodeValidator ; 4 use...

/blade-parser/v1/validation#content-adddocumentvalidators

Registers multiple document validators with the BladeValidator instance. Argument Description $validators The document validator instances. 1 <?php 2   3 use Stillat\BladeParser\Validation\BladeValidator ; 4   5 public function...

/blog/2016/11/20/laravel-array-helper-function-array_where#content-comparing-just-the-value

Assume we have an array of numbers, from 0 to 100 : An array of all numbers less than or equal to 10 can be created like so: $smallNumbers would then look like this:

/blog/2017/11/27/laravel-55-string-helper-function-camel_case#content-example-use

The following examples will all return the string myWords : Again, the camel function does not affect the casing of any characters after the first one.