ViewPublishCommand::option()

string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array

IsChecked::toString()

string toString() Get a string representation of the object. Placeholder method to avoid forcing definition of this method. Return Value string

TransactionRolledBack

TransactionRolledBack class TransactionRolledBack extends ConnectionEvent (View source) Properties string $connectionName The name of the connection. from ConnectionEvent Connection $connection The database connection instance. from ConnectionEvent

Request::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

Application::call()

mixed call(callable|string $callback, array $parameters = array(), string|null $defaultMethod = null) Call the given Closure / class@method and inject its dependencies. Parameters callable|string $callback array $parameters string|null $defaultMethod Return Value mixed

IsSelected::__construct()

void __construct(string $selector, mixed $value) Create a new constraint instance. Parameters string $selector mixed $value Return Value void

Repository::remember()

mixed remember(string $key, DateTime|float|int $minutes, Closure $callback) Get an item from the cache, or store the default value. Parameters string $key DateTime|float|int $minutes Closure $callback Return Value mixed

Blueprint::smallInteger()

Fluent smallInteger(string $column, bool $autoIncrement = false, bool $unsigned = false) Create a new small integer (2-byte) column on the table. Parameters string $column bool $autoIncrement bool $unsigned Return Value Fluent

HasManyThrough::match()

array match(array $models, Collection $results, string $relation) Match the eagerly loaded results to their parents. Parameters array $models Collection $results string $relation Return Value array

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