Showing 10 of 1,322 results.

addDirectory | Workspaces

Recursively adds all Blade templates to the workspace discovered within the provided directory. Argument Description $directory The path. 1 <?php 2 3 use Stillat \ BladeParser \ Workspaces \ Workspace ; 4 5 public function addDirectory ( 6 string...

Laravel 5: Redirecting Users to the Previous Page With back

The back helper function is used to create a redirect response to the user's previous location. It defines two parameters which can be used to control the status code and headers of the response. An integer argument can be supplied for the $status...

setConditions | Blade Compiler

Sets and overrides all custom condition handlers. In default setups, this is set to the return value of Illuminate\View\Compilers\BladeCompiler::$conditions protected property. Argument Description $conditions The condition handlers. 1 <?php 2 3...

Antlers Conditional Parameters Using void Parameters

In this article we are going to take a look at a way to conditionally supply a parameter to an Antlers tag using a new feature called void parameters . Void parameters allow you to conditionally remove a parameter completely, instead of simply...

Why Rebuild the Site? | Rebuilding Stillat.com

…rything I would want in a blogging platform. Statamic ticked all of my boxes: it loves Markdown, its contents can be version controlled and it was built on Laravel (and having experience with Laravel, I figured I could easily override any...