RefreshCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

ControllerMakeCommand::choice()

string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string

Event::then()

$this then(Closure $callback) Register a callback to be called after the operation. Parameters Closure $callback Return Value $this

CallbackEvent::before()

$this before(Closure $callback) Register a callback to be called before the operation. Parameters Closure $callback Return Value $this

Redirect::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

BaseCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

MocksApplicationServices::doesntExpectModelEvents()

$this doesntExpectModelEvents(string $model, array|string $events) Specify a list of events that should not be fired for the given operation. These events will be mocked, so that handlers will not actually be executed. Parameters string $model array|string $events Return Value $this Exceptions Exception

Factory::getPaginationView()

View getPaginationView(Paginator $paginator, string $view = null) Get the pagination view. Parameters Paginator $paginator string $view Return Value View

MaintenanceModeException

MaintenanceModeException class MaintenanceModeException extends ServiceUnavailableHttpException (View source) Properties int $wentDownAt When the application was put in maintenance mode. Carbon $retryAfter The number of seconds to wait before retrying. Carbon $willBeAvailableAt When the application should next be available.

Hashing

Hashing Introduction Basic Usage Introduction The Laravel Hash facade provides secure Bcrypt hashing for storing user passwords. If you are using the built-in LoginController and RegisterController classes that are included with your Laravel application, they will automatically use Bcrypt for registration and authentication. Bcrypt is a great choice for hashing passwords because its "work factor" is adjustable, which means that the time it takes to generate a hash can be increased as hardwar