getErrors | The Document Parser
Retrieves a collection of parser errors. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getErrors ( ) : Collection ;
Showing 10 of 2,044 results.
Retrieves a collection of parser errors. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getErrors ( ) : Collection ;
Values can be retrieved with the session function by supplying a $key . To retrieve the test value from the earlier example the function call would look like so: 1 // Retrieving the 'test' value. 2 $ value = session ( ' test ' ) ; It is possible...
…ode like the following: 1 function checkDomains ( $ domains ) { 2 if ( ! is_array ( $ domains ) ) { 3 $ domains = ( array ) $ domains ; 4 } 5 6 foreach ( $ domains as $ domain ) { 7 // Perform some operation on the domains array. 8 } 9 } The wrap...
…r the $parameters parameter. The secure_url helper function internally returns the value of a call to the url helper function.The signature of the secure_url function is: 1 function secure_url ( 2 $ url , 3 $ parameters = [ ] 4 ) ;The following...
…he terminal name, any number of parameters or options can be defined as long as they are enclosed within curly braces ( { and } ). When defining options within the signature, options must still start with the -- option prefix (options can also...
It is also possible to specify a default value for the options. The following signature is similar to the previous one, except that the --age option will have a default value of 0 that will be used if the end user does not specify an age: 1 <?php...
The most common place to queue custom metadata is within the site's app/Providers/AppServiceProvider.php file using the Metadata facade. To add a new <meta ...> tag, we can use the queue method and supply an array containing the attributes we want...
We can easily add custom metadata from our front-end templates using the se_meta:append tag. For example, on a search page we might add the following: 1 {{ se_meta : append }} 2 < meta name = " robots " content = " noindex " > 3 {{ /se_meta :...
…tadata manager also supports the concept of "metadata providers." These providers provide a simple way for external code to register multiple meta tags with Site Essential's metadata manager. Metadata providers are added by using the addProviders...
In order for meta and link tags to appear in the output of your templates, you will need to use the se_meta Antlers tag. You should remove all hardcoded meta/link tags that you will be managing using the metadata builders so duplicates do not...