Search

Showing 7 of 1,975 result(s)

/blade-parser/v1/workspaces#content-alloftype

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 ;

/blade-parser/v1/workspaces#content-allnotoftype

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 ;

/blog/2016/11/20/laravel-helper-function-csrf_field

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...

/blog/2016/11/21/laravel-fluent-part-two-the-public-api#content-getattributes

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...

/blog/2016/11/21/laravel-fluent-part-two-the-public-api#content-toarray

The toArray method returns the exact same values as the getAttributes method.

/blog/2016/11/21/laravel-fluent-part-two-the-public-api#content-tojsonoptions--0

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...

/blog/2016/11/21/laravel-miscellaneous-helper-function-object_get

…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...