Search

Showing 7 of 1,975 result(s)

/blog/2018/04/14/laravel-5-generating-urls-with-url

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

/blog/2018/04/15/laravel-5-determining-which-traits-a-class-uses-with-trait_uses_recursive

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

/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-macros-public-api

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

/blog/2018/04/21/laravel-5-message-bags-converting-the-message-bag-to-an-array-with-toarray

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/licensing

Meerkat is not free software, and is licensed on a per-site basis. Each site must also have an appropriate Statamic License .