SQLiteGrammar::compileAdd()

array compileAdd(Blueprint $blueprint, Fluent $command) Compile alter table commands for adding columns. Parameters Blueprint $blueprint Fluent $command Return Value array

Storage::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

SQLiteGrammar::compileColumnExists()

string compileColumnExists(string $table) Compile the query to determine the list of columns. Parameters string $table Return Value string

RefreshCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

SeedCommand::confirm()

bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool

LuaScripts

LuaScripts class LuaScripts (View source) Methods static string pop() Get the Lua script for popping the next job off of the queue. static string release() Get the Lua script for releasing reserved jobs. static string migrateExpiredJobs() Get the Lua script to migrate expired jobs back onto the queue. static string size() Get the Lua script for computing the size of queue.

PostgresConnection::raw()

Expression raw(mixed $value) Get a new raw query expression. Parameters mixed $value Return Value Expression

BusServiceProvider

BusServiceProvider class BusServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array provides(

MakesHttpRequests::putJson()

$this putJson(string $uri, array $data = array(), array $headers = array()) Visit the given URI with a PUT request, expecting a JSON response. Parameters string $uri array $data array $headers Return Value $this

Database: Seeding

Database: Seeding Introduction Writing Seeders Using Model Factories Calling Additional Seeders Running Seeders Introduction Laravel includes a simple method of seeding your database with test data using seed classes. All seed classes are stored in the database/seeds directory. Seed classes may have any name you wish, but probably should follow some sensible convention, such as UsersTableSeeder, etc. By default, a DatabaseSeeder class is defined for you. From this class, you may use the cal