MorphTo::getResults()

mixed getResults() Get the results of the relationship. Return Value mixed

RedisStore::setConnection()

void setConnection(string $connection) Set the connection name to be used. Parameters string $connection Return Value void

ResponseFactory::redirectToRoute()

RedirectResponse redirectToRoute(string $route, array $parameters = array(), int $status = 302, array $headers = array()) Create a new redirect response to a named route. Parameters string $route array $parameters int $status array $headers Return Value RedirectResponse

ApplicationTrait

ApplicationTrait trait ApplicationTrait (View source) Methods $this expectsEvents(array|mixed $events) Specify a list of events that should be fired for the given operation. $this withSession(array $data) Set the session to the given array. void session(array $data) Set the session to the given array. void flushSession() Flush all of the current session data. $this withoutMiddleware() Disable middleware for the test. $this actingAs(Authenticatable $user, string|nu

ResponseFactory::redirectGuest()

RedirectResponse redirectGuest(string $path, int $status = 302, array $headers = array(), bool|null $secure = null) Create a new redirect response, while putting the current URL in the session. Parameters string $path int $status array $headers bool|null $secure Return Value RedirectResponse

JoinClause::whereRaw()

$this whereRaw(string $sql, mixed $bindings = array(), string $boolean = 'and') Add a raw where clause to the query. Parameters string $sql mixed $bindings string $boolean Return Value $this

HasMany::getBaseQuery()

Builder getBaseQuery() Get the base query builder driving the Eloquent builder. Return Value Builder

Events

Events Introduction Registering Events & Listeners Generating Events & Listeners Manually Registering Events Defining Events Defining Listeners Queued Event Listeners Manually Accessing The Queue Firing Events Event Subscribers Writing Event Subscribers Registering Event Subscribers Introduction Laravel's events provides a simple observer implementation, allowing you to subscribe and listen for various events that occur in your application. Event classes are typically stored in

ClearCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

StatefulGuard::login()

void login(Authenticatable $user, bool $remember = false) Log a user into the application. Parameters Authenticatable $user bool $remember Return Value void