Showing 7 of 2,041 result(s)
Returns a formatted Blade error messages. Error messages will contain a generated error code, a message indicating the failure as well as information such as the offending line number. 1 <?php 2 3 public function getErrorMessage () : string ;
Tests if the document contains any node of the provided type. Argument Description $type The desired type. 1 <?php 2 3 public function hasAnyOfType ( 4 string $type 5 ) : bool ;
Compile the given Blade template contents. Argument Description $template The template. 1 <?php 2 3 public function compileString ( 4 string $template 5 ) : string ;
Class : NoArgumentsValidator The no directive arguments validator emits a validation error when directive's that should not contain arguments have arguments in the template. The following template: 1 @ endphp ($args) will emit the following...
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...
Tests if the workspace contains a directive with the provided name. Argument Description $name The directive name. 1 <?php 2 3 public function hasDirective ( 4 string $name 5 ) : bool ;
Tests if the workspace contains any node of the provided type. Argument Description $type The desired type. 1 <?php 2 3 public function hasAnyOfType ( 4 string $type 5 ) : bool ;