Showing 10 of 1,214 results.

Resolving the Class Behind a Facade | Laravel 5 Facades

…} | { $ resolvedClass } | " 15 ] ; 16 } ) 17 ) -> implode ( ' line ' , PHP_EOL ) ; 18 } The third, and final function we will create will convert the Markdown output from our getFacadeClassMarkdown function into HTML using Laravel's mailer...

addValidator | Validating Blade

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 Stillat \ BladeParser \...

addDocumentValidator | Validating Blade

Registers a document validator with the BladeValidator instance. Argument Description $validator The validator instance. 1 <?php 2 3 use Stillat \ BladeParser \ Validation \ AbstractDocumentValidator ; 4 use Stillat \ BladeParser \ Validation \...

Validating Workspaces

Validating workspaces works the same as validating individual documents. The difference is that all the configured nodes and document validators will be executed against all documents within the workspace. 1 <?php 2 use Stillat \ BladeParser \...

addValidator | Validating Workspaces

Adds a single node validator instance to the internal BladeValidator instance. Argument Description $validator The node validator. 1 <?php 2 3 use Stillat \ BladeParser \ Validation \ AbstractNodeValidator ; 4 use Stillat \ BladeParser \...

addDocumentValidator | Validating Workspaces

Adds a single document validator instance to the internal BladeValidator instance. Argument Description $validator The document validator. 1 <?php 2 3 use Stillat \ BladeParser \ Validation \ AbstractDocumentValidator ; 4 use Stillat \ BladeParser...

withValidator | Validating Workspaces

Adds a validator instance to the internal BladeValidator instance. Argument Description $validator The validator instance. 1 <?php 2 3 use Stillat \ BladeParser \ Validation \ AbstractNodeValidator ; 4 use Stillat \ BladeParser \ Workspaces \...

Lambdas And Closures

When building our applications in Laravel, we often make use of the routing system. The most basic example of this is by using the Route facade, and then appending a HTTP verb, the URI and some weird function looking thing: 1 <?php 2 3 Route ::...

Adventures in Blade | Laracon, Blade and What's Next

…ve remained private little adventures, but some have become public. The most popular recently being: Dagger, : An alternative component framework for Blade, focusing on performance and expanding the feature set of components at the same time.,...