Showing 10 of 1,204 results.

Laravel Artisan Generator Command: The make:test Command

…* A basic test example. 11 * 12 * @return void 13 */ 14 public function testExample ( ) 15 { 16 $ this -> assertTrue ( true ) ; 17 } 18 } The make:test command is also capable of generated test classes within nested directories. Accomplish this...

Laravel Application Helper: app

app($make = null, $parameters = []) The app function provides access to the Illuminate\Container\Container instance. Because Container is a singleton, any call to app() will return the same Container instance. The app function can also be used to...

Laravel Artisan Vendor Command: The vendor:publish Command

The vendor:publish command is used to publish any assets that are available from third-party vendor packages. It provides a few options to help specifically choose which assets should be published. The following table lists and describes each of...

Installation and Upgrading

Tidal is distributed as a Statamic Starter Kit . Because of this, Tidal has a slightly different installation process compared to installing other addons or composer packages.

Laravel Artisan Generator Command: The make:policy Command

…0 } This command will not overwrite any existing policy classes that have the same name. An error stating Policy already exists! will be displayed instead. The make:policy command is also capable of generated namespaced classes. Accomplish this...

The "where" Filters

The where filters provide the greatest control when querying comments across arbitrary comment properties . For example, you can apply comparison operators, or check an arbitrary property against a list of provided values.

The where Filter | The "where" Filters

The where filter accepts a comment property, a comparison operator, and a check value as its arguments. You may refer to the comment properties documentation to see what is available when using this filter (custom addon values are also supported)....

Menu Item Sections | Navigation Menus

…he first child's URL. If you'd like to learn more about how this redirection is done, you can explore the following files: app/Tags/AutoRedirect.php, : A custom tag implementation to locate the first child, and return a, refresh tag,...