Search

Showing 7 of 2,041 result(s)

/blade-parser/v1/parser-errors#content-available-methods

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 ;

/blade-parser/v1/querying-document-nodes#content-hasanyoftype

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 ;

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

Compile the given Blade template contents. Argument Description $template The template. 1 <?php 2   3 public function compileString ( 4 string $template 5 ) : string ;

/blade-parser/v1/the-validate-command#content-no-directive-arguments

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...

/blade-parser/v1/the-validate-command#content-required-directive-arguments

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...

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

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 ;

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

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 ;