Signature | Laravel 5 Fluent API: The Public API
The signature of the toJson method is: 1 public function toJson ( 2 $ options = 0 3 ) ;
Showing 10 of 2,133 results.
The signature of the toJson method is: 1 public function toJson ( 2 $ options = 0 3 ) ;
The isEmpty method is the logical opposite of the any method. It returns a boolean value indicating if the message bag is empty (having no messages). It returns true if the message bag is empty; it returns false if the message bag contains...
The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). The following demonstrates the usage of...
Instances of Stillat\BladeParser\Nodes\LiteralNode are created to represent the non-Blade content contained within an input document. Literal nodes maintain helpful information, such as the original trailing and leading whitespace discovered while...
Returns a value indicating if the compiler will fail on any parser error. 1 <?php 2 3 public function getParserErrorsIsStrict ( ) : bool ;
Tests if the current error is considered a "fatal" error. Fatal errors are those that are likely to cause issues when compiling the final PHP for a given template. Some parser generated errors are "warnings", and will not be reported as fatal...
Comments may be updated from the Control Panel by selected the "Edit" option below the comment's content. An inline comment editor will appear, allowing you to update the comment's content.
The data_set helper function can be used to set the value of an item in an array or an object property using dot notation. It accepts a reference to a $target array or object; the $key (array key or object property name) of the data to set and the...
The getMessageBag method returns a reference to the MessageBag instance. It exists to satisfy the requirements of the "Illuminate\Contracts\Support\MessageProvider" interface.The signature of the getMessageBag method is: 1 public function...
The getAttributes method simply returns an array containing all key/value pairs, representing the underlying data contained within the Fluent instance. After the following code is executed: 1 <?php 2 3 $ fluent = new Fluent ( $ testObject ) ; 4 5...