Model::belongsTo()

BelongsTo belongsTo(string $related, string $foreignKey = null, string $otherKey = null, string $relation = null) Define an inverse one-to-one or many relationship. Parameters string $related string $foreignKey string $otherKey string $relation Return Value BelongsTo

ViewClearCommand::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

FormRequest::acceptsHtml()

bool acceptsHtml() Determines whether a request accepts HTML. Return Value bool

Validator::getFacadeApplication()

static Application getFacadeApplication() Get the application instance behind the facade. Return Value Application

Collection::whereInStrict()

Collection whereInStrict(string $key, mixed $values) Filter items by the given key value pair using strict comparison. Parameters string $key mixed $values Return Value Collection

Str::quickRandom()

static string quickRandom(int $length = 16) deprecated deprecated since version 5.3. Use the "random" method directly. Generate a "random" alpha-numeric string. Should not be considered sufficient for cryptography, etc. Parameters int $length Return Value string

TestCase::assertViewHasAll()

$this assertViewHasAll(array $bindings) Assert that the view has a given list of bound data. Parameters array $bindings Return Value $this

DatabaseManager::purge()

void purge(string $name = null) Disconnect from the given database and remove from local cache. Parameters string $name Return Value void

ConfigCacheCommand::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

PostgresConnection::getDatabaseName()

string getDatabaseName() Get the name of the connected database. Return Value string