InteractsWithPages::within()

$this within(string $element, Closure $callback) Narrow the test content to a specific area of the page. Parameters string $element Closure $callback Return Value $this

DatabaseNotification::morphToMany()

MorphToMany morphToMany(string $related, string $name, string $table = null, string $foreignKey = null, string $otherKey = null, bool $inverse = false) Define a polymorphic many-to-many relationship. Parameters string $related string $name string $table string $foreignKey string $otherKey bool $inverse Return Value MorphToMany

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

Container::bindIf()

void bindIf(string $abstract, Closure|string|null $concrete = null, bool $shared = false) Register a binding if it hasn't already been registered. Parameters string $abstract Closure|string|null $concrete bool $shared Return Value void

ExistenceAwareInterface

ExistenceAwareInterface interface ExistenceAwareInterface (View source) Methods SessionHandlerInterface setExists(bool $value) Set the existence state for the session.

CacheServiceProvider::__call()

mixed __call(string $method, array $parameters) Dynamically handle missing method calls. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Builder::pluck()

Collection pluck(string $column, string|null $key = null) Get an array with the values of a given column. Parameters string $column string|null $key Return Value Collection

SQLiteGrammar::wrapTable()

string wrapTable(Expression|string $table) Wrap a table in keyword identifiers. Parameters Expression|string $table Return Value string

Factory::store()

mixed store(string|null $name = null) Get a cache store instance by name. Parameters string|null $name Return Value mixed

GuardHelpers

GuardHelpers trait GuardHelpers (View source) These methods are typically the same across all guards. Methods Authenticatable authenticate() Determine if the current user is authenticated. bool check() Determine if the current user is authenticated. bool guest() Determine if the current user is a guest. int|null id() Get the ID for the currently authenticated user. $this setUser(Authenticatable $user) Set the current user.