Showing 10 of 2,044 results.

toDocument | Blade Documents

Returns a new document instance from the current document. This method will take into account any changes made to the nodes that represent the current document. The new document created will use the adjusted document text as its source. 1 <?php 2...

Laravel 5: Accessing and Sending HTTP Responses With response

The response helper function is a useful function that can be used to accomplish two different tasks. If no arguments are supplied to the response function, an implementation of Illuminate\Contracts\Routing\ResponseFactory will be returned (by...

The Validate Command

The Blade Parser library provides a blade:validate Artisan command that checks all the Blade template files within the current project.

PHPStan/Larastan Integration | The Validate Command

If you'd like to automatically run Larastan results on the compiled output of Blade templates when running the blade:validate command, you simply need to install it via Composer and ensure the blade.validation.phpstan configuration option is set...

Required Directive Arguments | The Validate Command

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

Component Parameter Spacing | The Validate Command

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

resolveStructures | Document Structures

Resolves structures within the document, such as directive pairs. Structural analysis can only be performed once on a Document instance. If changes have been made to the node structure, you are encouraged to call the toDocument() method to...

Laravel Artisan Tinker: The up Command

The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). This command performs the same action as...