Manager::getConnection()

Connection getConnection(string $name = null) Get a registered connection instance. Parameters string $name Return Value Connection

Manager::extend()

$this extend(string $driver, Closure $callback) Register a custom driver creator Closure. Parameters string $driver Closure $callback Return Value $this

Manager::driver()

mixed driver(string $driver = null) Get a driver instance. Parameters string $driver Return Value mixed

Manager::connection()

static Queue connection(string $connection = null) Get a connection instance from the global manager. Parameters string $connection Return Value Queue

Manager::connection()

static Connection connection(string $connection = null) Get a connection instance from the global manager. Parameters string $connection Return Value Connection

Manager::bulk()

static mixed bulk(array $jobs, mixed $data = '', string $queue = null, string $connection = null) Push a new an array of jobs onto the queue. Parameters array $jobs mixed $data string $queue string $connection Return Value mixed

Manager::bootEloquent()

void bootEloquent() Bootstrap Eloquent so it is ready for usage. Return Value void

Manager::addConnection()

void addConnection(array $config, string $name = 'default') Register a connection with the manager. Parameters array $config string $name Return Value void

Manager::addConnection()

void addConnection(array $config, string $name = 'default') Register a connection with the manager. Parameters array $config string $name Return Value void

Manager

Manager class Manager (View source) Methods void __construct(Application $app) Create a new manager instance. string getDefaultDriver() Get the default driver name. mixed driver(string $driver = null) Get a driver instance. $this extend(string $driver, Closure $callback) Register a custom driver creator Closure. array getDrivers() Get all of the created "drivers". mixed __call(string $method, array $parameters) Dynamically call the default driver instance.