Showing 10 of 2,133 results.

Laravel Router Helper Function: resource

resource($name, $controller, array $options = []) The resource function is a shortcut that is used to register a resource controller with the router. It accepts the $name of the route to create, the name of the $controller and an array of $options...

withCompilerOptions | Compiling Workspaces

Sets the workspace compiler options. Argument Description $options The compiler options. 1 <?php 2 3 use Stillat \ BladeParser \ Document \ DocumentCompilerOptions ; 4 use Stillat \ BladeParser \ Workspaces \ Workspace ; 5 6 public function...

Laravel String Helper Function: studly_case

…finds (while not affecting the case of any other letters): Any number of spaces, The underscore, _, The hyphen, - Let's take a look at a few examples to see how this would format a few example strings. The string returned will appear above the...

getAllConditions | Workspaces

Returns all the workspace conditions. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllConditions ( ) : Collection ;

Laravel Application Helper Function: redirect

redirect($to = null, $status = 302, $headers = [], $secure = null) The redirect helper function is a versatile helper function. The $to parameter is defined with a default value of null . When $to is null , the redirect function by default will...

Templating

Because Statamic's search features do not emit any events, you will need to update your site's search results page in order to log searches. This can be done by inserting the {{ log_search /}} Antlers tag within your existing template: 1 {{ search...

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