ConsoleMakeCommand

ConsoleMakeCommand class ConsoleMakeCommand extends GeneratorCommand (View source) Methods void __construct(Filesystem $files) Create a new controller creator command instance. from GeneratorCommand int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command si

Console Commands

Console Commands Introduction Writing Commands Generating Commands Command Structure Closure Commands Defining Input Expectations Arguments Options Input Arrays Input Descriptions Command I/O Retrieving Input Prompting For Input Writing Output Registering Commands Programatically Executing Commands Calling Commands From Other Commands Introduction Artisan is the command-line interface included with Laravel. It provides a number of helpful commands that can assist you while you build y

Console

Illuminate\Console Classes Application Command ConfirmableTrait

ConnectorInterface

ConnectorInterface interface ConnectorInterface (View source) Methods Queue connect(array $config) Establish a queue connection.

ConnectorInterface::connect()

Queue connect(array $config) Establish a queue connection. Parameters array $config Return Value Queue

ConnectorInterface::connect()

PDO connect(array $config) Establish a database connection. Parameters array $config Return Value PDO

Connector::getOptions()

array getOptions(array $config) Get the PDO options based on the configuration. Parameters array $config Return Value array

ConnectorInterface

ConnectorInterface interface ConnectorInterface (View source) Methods PDO connect(array $config) Establish a database connection.

Connector::setDefaultOptions()

void setDefaultOptions(array $options) Set the default PDO connection options. Parameters array $options Return Value void

Connector::createConnection()

PDO createConnection(string $dsn, array $config, array $options) Create a new PDO connection. Parameters string $dsn array $config array $options Return Value PDO