Showing 7 of 1,975 result(s)
…n an instance of the configured "Illuminate\Contracts\Routing" "\UrlGenerator" implementation (by default this is an instance of "Illuminate\Routing\UrlGenerator"). The url function can be used to generate arbitrary URLs. Calling the url function...
…using.The signature of the trait_uses_recursive function is:Given the traits and class: The traits used by ExampleClass can be determined by: $traits = trait_uses_recursive('ExampleClass'); The $traits variable would contain the following array:...
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...
The following sections discuss the various methods that become available when utilizing the Macroable trait; there are not that many of them, but that does not detract from the fact that the Macroable trait is incredibly useful.The following...
The toArray method can be used to retrieve the MessageBag instance as an array. It internally accomplishes this by returning a call to the getMessages method.The signature of the toArray method is: public function toArray();The following example...
Meerkat is not free software, and is licensed on a per-site basis. Each site must also have an appropriate Statamic License .