Showing 10 of 2,044 results.

Laravel MessageBag Public API: getMessages

The getMessages method is used to return all of the messages stored within the MessageBag instance. The getMessages method will always return an array. If there are no messages in the message bag, an empty array will be returned. 1 <?php 2 3 use...

withCoreValidators | Validating Workspaces

Includes the core validators on the internal BladeValidator instance. If a BladeValidator instance does not already exist on the document, a new one will be created automatically via the ValidatorFactory::makeBladeValidator() factory method. Under...

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

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