Model::observe()

static void observe(object|string $class, int $priority) Register an observer with the Model. Parameters object|string $class int $priority Return Value void

Arr::add()

static array add(array $array, string $key, mixed $value) Add an element to an array using "dot" notation if it doesn't exist. Parameters array $array string $key mixed $value Return Value array

MorphMany::firstOrNew()

Model firstOrNew(array $attributes) Get the first related model record matching the attributes or instantiate it. Parameters array $attributes Return Value Model

Guard::onceBasic()

Response|null onceBasic(string $field = 'email') Perform a stateless HTTP Basic login attempt. Parameters string $field Return Value Response|null

FormRequest::hasMacro()

static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool

MySqlGrammar::parameter()

string parameter(mixed $value) Get the appropriate query parameter place-holder for a value. Parameters mixed $value Return Value string

Validator::getData()

array getData() Get the data under validation. Return Value array

UploadedFile::storeAs()

string|false storeAs(string $path, string $name, string|null $disk = null, string|null $visibility = null) Store the uploaded file on a filesystem disk. Parameters string $path string $name string|null $disk string|null $visibility Return Value string|false

Request::input()

string|array input(string $key = null, string|array|null $default = null) Retrieve an input item from the request. Parameters string $key string|array|null $default Return Value string|array

MySqlGrammar::isExpression()

bool isExpression(mixed $value) Determine if the given value is a raw expression. Parameters mixed $value Return Value bool