Showing 7 of 1,975 result(s)
Locates the first instance of the provided node type in the document. Argument Description $type The node type. 1 <?php 2 3 use Stillat\BladeParser\Nodes\AbstractNode ; 4 5 public function firstOfType ( 6 string $type 7 ) : AbstractNode ;...
Locates the last instance of the provided node type in the document. Argument Description $type The node type. 1 <?php 2 3 use Stillat\BladeParser\Nodes\AbstractNode ; 4 5 public function lastOfType ( 6 string $type 7 ) : AbstractNode ;...
The Blade Parser library provides a blade:validate Artisan command that checks all the Blade template files within the current project.
Class : RequiredArgumentsValidator The required directive arguments validator emits a validation error when a directive that should contain arguments does not have any arguments in the template. The following template: 1 @extends will emit the...
Class : ComponentParameterNameSpacingValidator The component parameter spacing validator may be used to detect extraneous whitespace between a parameter's name and its value. The following template: 1 < x-alert message = "The message" /> produces...
Strings will be ignored if any of the following conditions are met (these behaviors cannot be disabled at this time): The string does not contains a space, The string contains newline characters, The string contains any of the following...
The lower helper method takes a given value and returns a lower cased variant. The signature for the lower helper function is: lower($value)