Showing 10 of 129 results.

validate | Validating Documents

Validates the document with the internal BladeValidator instance. After validation is complete, any produced validation errors will be available through the getErrors() method, as well as the getValidationErrors() method to retrieve only the...

Thoughts on a "Guidance Engine"

…, even if they were not authored by the same person. In that article, I alluded to a method of making learning programming topics easier. So how could we do that? Well, I'm still not entirely sure. There are entire fields of research involved in...

Creating a Hybrid Cache System for Statamic: Part Four

…29 } If we manually deleted all of our cached content, regenerated the cached contents, and then made any changes to our storage/hybrid-cache/global-invalidation file, we should see the response times increase as the cache is invalidated....

Validating Blade

The Blade Parser library provides a simple yet powerful validation system. The validation system can be used to validate individual nodes within a document or entire document instances at once.

hasErrorOnLine | Blade Compiler

…the provided properties exists on a specific line. Argument Description $line The line to check. $type The error type to check for. $context The error context. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ ErrorType ; 4 5 public function...

hasErrorOnLine | The Document Parser

…the provided properties exists on a specific line. Argument Description $line The line to check. $type The error type to check for. $context The error context. 1 <?php 2 3 use Stillat \ BladeParser \ Errors \ ErrorType ; 4 5 public function...

findAllNodesStartingOnLine | Querying Document Nodes

Retrieves all nodes starting on the target line. Only the node's starting position is considered. Argument Description $line The target line. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function...

Filter Search