Application::add()

Command add(Command $command) Add a command to the console. Parameters Command $command Return Value Command

Application::afterBootstrapping()

void afterBootstrapping(string $bootstrapper, Closure $callback) Register a callback to run after a bootstrapper. Parameters string $bootstrapper Closure $callback Return Value void

Application::addDeferredServices()

void addDeferredServices(array $services) Add an array of services to the application's deferred services. Parameters array $services Return Value void

Application::addContextualBinding()

void addContextualBinding(string $concrete, string $abstract, Closure|string $implementation) Add a contextual binding to the container. Parameters string $concrete string $abstract Closure|string $implementation Return Value void

Application

Application class Application extends Container implements Application, HttpKernelInterface (View source) Constants VERSION The Laravel framework version.

Application::abort()

void abort(int $code, string $message = '', array $headers = array()) Throw an HttpException with the given data. Parameters int $code string $message array $headers Return Value void Exceptions HttpException

Application Testing

Application Testing Introduction Interacting With Your Application Interacting With Links Interacting With Forms Testing JSON APIs Verifying Exact Match Verifying Structural Match Sessions / Authentication Disabling Middleware Custom HTTP Requests PHPUnit Assertions Introduction Laravel provides a very fluent API for making HTTP requests to your application, examining the output, and even filling out forms. For example, take a look at the test defined below: <?php use Illuminate\Found

Application

Application interface Application implements Container (View source) Methods bool bound(string $abstract) Determine if the given abstract type has been bound. from Container void alias(string $abstract, string $alias) Alias a type to a different name. from Container void tag(array|string $abstracts, array|mixed $tags) Assign a set of tags to a given binding. from Container array tagged(array $tag) Resolve all of the bindings for a given tag. from Container void bind(string

Application

Application interface Application (View source) Methods int call(string $command, array $parameters = array()) Call a console application command. string output() Get the output from the last command.

App::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed