Showing 7 of 2,041 result(s)
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...
…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...
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...
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...
…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...
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:
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...