Showing 10 of 1,204 results.

Registering Third-party Metadata Providers | Overview

…\ Facades \ Metadata ; 4 5 Metadata :: addProviders ( [ 6 \ Stillat \ SocialMediaImageKit \ Metadata \ MetadataProvider :: class , 7 \ Stillat \ StatamicSiteEssentials \ Metadata \ EssentialMetadataProvider :: class , 8 ] ) ; Depending on the...

Laravel 4: Rendering a View to a String

Laravel 4 offers Views, a way to separate your applications controllers and business logic from your presentation layer. Sometimes, it can be useful to render the view into a local variable instead of outputting it to the client. You are probably...

Laravel Artisan Tinker: The doc Command

…use readability issues): 1 >>> doc config 2 function config($key = null, $default = null) 3 4 Description: 5 Get / set the specified configuration value. 6 7 If an array is passed as the key, we will assume you want to set an 8 array of values. 9...

Customizing The Laravel Artisan Application

…* The Artisan commands provided by your application. 13 * 14 * @var array 15 */ 16 protected $ commands = [ 17 // Commands\Inspire::class, 18 Commands \ TestCommand :: class 19 ] ; 20 21 /** 22 * Define the application's command schedule. 23 * 24...

compile | Compiling Workspaces

Compiles all discovered Blade templates within the workspace. Argument Description $outputDirectory Where to store compiled files. 1 <?php 2 3 public function compile ( 4 string $ outputDirectory 5 ) : void ;

getSourceLine | Compiling Workspaces

Retrieves the original Blade template line number for the given compiled PHP line. Argument Description $docPath The compiled path. $phpLine The target PHP line. 1 <?php 2 3 public function getSourceLine ( string $ docPath , 4 int $ phpLine ) : int ;

Image Tasks Table | Artisan Commands

Some features, such as generating images on a job queue, will require a database. The sub-feature to prevent duplicate jobs from being created will also require an additional table to be created. The image-tasks-table Artisan command may be used...

Filter Search