Application::__construct()

void __construct(Container $laravel, Dispatcher $events, string $version) Create a new Artisan console application. Parameters Container $laravel Dispatcher $events string $version Return Value void

Application::wrap()

Closure wrap(Closure $callback, array $parameters = array()) Wrap the given closure such that its dependencies will be injected when executed. Parameters Closure $callback array $parameters Return Value Closure

Application::when()

ContextualBindingBuilder when(string $concrete) Define a contextual binding. Parameters string $concrete Return Value ContextualBindingBuilder

Application::useStoragePath()

$this useStoragePath(string $path) Set the storage directory. Parameters string $path Return Value $this

Application::version()

string version() Get the version number of the application. Return Value string

Application::version()

string version() Get the version number of the application. Return Value string

Application::useEnvironmentPath()

$this useEnvironmentPath(string $path) Set the directory for the environment file. Parameters string $path Return Value $this

Application::useDatabasePath()

$this useDatabasePath(string $path) Set the database directory. Parameters string $path Return Value $this

Application::terminating()

$this terminating(Closure $callback) Register a terminating callback with the application. Parameters Closure $callback Return Value $this

Application::tagged()

array tagged(array $tag) Resolve all of the bindings for a given tag. Parameters array $tag Return Value array