Showing 10 of 1,214 results.

Parsing Blade Comments in Forte

Comments: That's the topic for today. As I continue working on the HTML parser for Forte, a project I intend to be the foundation for a suite of tools to create the best Laravel Blade extensibility framework ever, I am tackling smaller projects...

Laravel 5 String Helpers: Parse Callback

parseCallback is a fairly simple method, even though it serves a somewhat specialized purpose. The following syntax for class names and method names can be found utilized throughout the Laravel framework: 1 ClassName @ someMethodName The point is...

Creating a Hybrid Cache System for Statamic: Part Two

…r sections to include other data types. Another option would be to add explicit getters for each data type, but the associative array method also works as long as you are consistent with the implementation. Additionally, I would not expect any...

Parser Errors

The parser, and other related systems, are capable of reporting various errors under certain circumstances. For instance, the document parser will create errors if a @verbatim directive is not paired correctly with an @endverbatim directive....

Custom Command Styles With Laravel Artisan

…e fg property to a valid foreground color value. The background color can also be styled by setting the bg property to a valid background color value. The following example would also set the background color to yellow . Note that each property...

Specifying Custom Directive Names | The Document Parser

By default, the document parser does not know any custom directives available within an application. This decision was made to help keep the parser as standalone and reusable as possible. However, it is simple to teach the parser about custom...

Filter Search