Search

Showing 7 of 2,041 result(s)

/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/2018/04/11/laravel-5-determining-if-an-object-is-array-accessible-with-accessible

…ccessible helper method is used to determine whether the given $value is array accessible. A value $value is array accessible if the value is an array or an instance of ArrayAccess .The signature of the accessible method is:The following examples...

/blog/2018/04/21/laravel-5-facades#content-fakedisk--null

The fake method will replace the provided $disk with a local testing disk. The local disk will be stored in your application storage path under the sub-directory location framework/testing/disks/<DISK_NAME> . The local directory will be cleared...

/blog/2018/04/21/laravel-5-facades#content-persistentfakedisk--null

The persistentFake method will replace the provided $disk with a local testing disk. The local disk will be stored in your application storage path under the sub-directory location framework/testing/disks/<DISK_NAME> . The persistent local...

/blog/2018/04/21/laravel-5-message-bags-checking-if-messages-exist-for-a-specific-input-key-with-has

…to determine if messages exist within the MessageBag instance for a given $key . The has method returns true if messages exist for the given $key , and returns false if no messages exist.The signature of the has method is: The following examples...

/meerkat/sorting-comment-threads#content-ordering-by-multiple-properties

Multiple sort orders can be applied to a single comment thread by chaining sort orders with the pipe ( | ) character. The following example demonstrates how to first sort by newest comments, and then by the contents of the comment:

/blog/2016/12/07/laravel-artisan-route-command-the-routeclear-command

The route:clear command is used to clear any previously generated route cache files. It does this by removing the bootstrap/cache/routes.php cache file. It defines no parameters or options can can be called like so: The route:cache command will...