Showing 10 of 2,044 results.

getErrors | Validating Documents

Returns the Blade errors. Returns a Collection instance containing the document's errors. This method will return errors from all sources, such as parser and validation errors. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public...

getValidationErrors | Validating Documents

Returns a collection containing the document's validation errors. Errors added to the document via. the addValidationResult or addValidationError methods will be included in the results. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5...

getFirstError | Validating Documents

…se 1 <?php 2 3 use Stillat \ BladeParser \ Document \ Document ; 4 5 $ template = <<< ' BLADE ' 6 Hello, {{ $ world 7 BLADE ; 8 9 $ doc = Document :: fromText ( $ template ) ; 10 11 // Returns '[BLADE_P001001] Unexpected end of input while...

Adding Collections to Feeds | RSS and Atom Feeds

The documentation collection has already been added to the default RSS/Atom feed. To add additional collections, update the config/feedamic.php configuration file and add the desired collections to the collections array: 1 <?php 2 3 return [ 4 //...