Showing 7 of 1,975 result(s)
Finds all nodes of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat\BladeParser\Nodes\NodeCollection ; 4 5 public function allOfType ( 6 string $type 7 ) : NodeCollection ;
Finds all nodes that are not of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat\BladeParser\Nodes\NodeCollection ; 4 5 public function allNotOfType ( 6 string $type 7 ) : NodeCollection ;
csrf_field() The csrf_field function can be used to generate a hidden HTML element containing the value of the CSRF token. For example, the following HTML code can be greatly simplified using the function: can be simplified to just: or with Blade...
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: The $attributes variable would look have a value similar...
The toArray method returns the exact same values as the getAttributes method.
The toJson method will return a JSON encoded version of the data stored within the fluent instance. It internally does this by returning a call to PHP's json_encode function, passing in any $options that were supplied. Like the json_encode...
…e object_get allows developers to retrieve properties from a given $object using dot notation. This is useful in situations where it can not be guaranteed that a supplied object will have a given property, represented by the $key . The following...