Writer::listen()

void listen(Closure $callback) Register a new callback handler for when a log event is triggered. Parameters Closure $callback Return Value void Exceptions RuntimeException

PostgresGrammar::compileTruncate()

array compileTruncate(Builder $query) Compile a truncate table statement into SQL. Parameters Builder $query Return Value array

DatabaseNotification::with()

static Builder|Model with(array|string $relations) Begin querying a model with eager loading. Parameters array|string $relations Return Value Builder|Model

MorphToMany::newPivotStatement()

Builder newPivotStatement() Get a new plain query builder for the pivot table. Return Value Builder

ClearCompiledCommand::table()

void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void

Redirector::back()

RedirectResponse back(int $status = 302, array $headers = array()) Create a new redirect response to the previous location. Parameters int $status array $headers Return Value RedirectResponse

Encrypter

Encrypter class Encrypter implements Encrypter (View source) Methods void __construct(string $key, string $cipher = 'AES-128-CBC') Create a new encrypter instance. static bool supported(string $key, string $cipher) Determine if the given key and cipher combination is valid. string encrypt(string $value) Encrypt the given value. string decrypt(string $payload) Decrypt the given value. string getKey() Get the encryption key.

HandleExceptions::handleError()

void handleError(int $level, string $message, string $file = '', int $line, array $context = array()) Convert a PHP error to an ErrorException. Parameters int $level string $message string $file int $line array $context Return Value void Exceptions ErrorException

CacheTableCommand::askWithCompletion()

string askWithCompletion(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

RouteCacheCommand::warn()

void warn(string $string, null|int|string $verbosity = null) Write a string as warning output. Parameters string $string null|int|string $verbosity Return Value void