Showing 7 of 1,975 result(s)
Removes support for all core Blade directives. 1 <?php 2 3 use Stillat\BladeParser\Parser\DocumentParser ; 4 5 public function withoutCoreDirectives () : DocumentParser ;
Tests if any fatal errors are present. 1 <?php 2 3 public function hasFatalErrors () : bool ;
…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...
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...
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...
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:
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.