getErrors | Blade Compiler
Retrieves a collection of all parser errors. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getErrors ( ) : Collection ;
Showing 10 of 1,214 results.
Retrieves a collection of all parser errors. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getErrors ( ) : Collection ;
…oblem to solve. The table located at https://www.unicode.org/cldr/charts/25/supplemental/language_plural_rules.html gives a sense of the differences between different locales and the rules of pluralization. While words in the English language, by...
…ices”., c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all...
…' keyTwo ' => ' valueTwo ' , 7 ' keyThree ' => ' valueThree ' 8 ] ; 9 10 // Store all three key/value pairs in the config. 11 config ( $ newConfigurationValues ) ; In the above example all three key/value pairs will be stored in the configuration...
…5 * The conference speakers. 6 * 7 * @var array 8 */ 9 protected $ speakers = [ ] ; 10 11 /** 12 * The name of the conference. 13 * 14 * @var string 15 */ 16 protected $ name = ' ' ; 17 18 /** 19 * Instantiates a new Conference instance. 20 * 21...
The document validation system provides a convenient wrapper around the Blade Parser's validation system. Using the validation system, we can quickly run any number of validators against our input document to catch potential compilation or runtime...
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...
Gets the document nodes as a normal array. Returns a PHP array containing the nodes that represent the parsed template. The nodes returned by this call are the same as those from the getNodes method call. 1 <?php 2 3 public function getNodeArray (...
The Blade Parser library provides a blade:validate Artisan command that checks all the Blade template files within the current project.
The Blade Parser library provides many validation rules out of the box. You can learn more about each of them in the following sections.