Showing 10 of 2,055 results.

validator | Validating Workspaces

Returns access to an internal BladeValidator instance. If a validator instance does not already exist, one will be automatically created by calling the ValidatorFactory::makeBladeValidator() method. 1 <?php 2 3 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...

getFirstError | Validating Workspaces

Retrieves the first error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ BladeError ; 4 5 public function...

Laracon, Blade and What's Next

…amic, neither of which I will go into detail here: some memories are best kept with the few that experienced them, and it is not my place to divulge any upcoming awesome Statamic news. Here is a picture of us all at Red Rocks Park and...

Comment Systems and Statamic | Rebuilding Stillat.com

…feel like they are part of the site (even if I don't directly create them), and I learn things from them every now and then; I wanted them to be part of the new site. As stated in a previous section, I wanted the main features of the site to work...

Example Use | Laravel 5: String Translation Public API

The following example will demonstrate how to call the parseKey method to return information about the translation key: 1 $ parts = $ translator -> parseKey ( ' passwords.reset ' ) ; After the above code has executed, the $parts array would...

The Statamic Add-on Roundup

…as asked on Twitter about the custom Statamic add-ons that power the Stillat site; here we go! I will discuss the reason for each add-on at a high level, even if they are incredibly site-specific. In the article Rebuilding Stillat.com I talked...

CategoriesFilter | The Statamic Add-on Roundup

The CategoriesFilter add-on is simply a custom Statamic Collection Filter that is really good at figuring out how articles on the site are related to one another based on their category. This is made simpler by the fact that I am limiting each...