ModelMakeCommand::error()

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

SortedMiddleware::take()

Collection take(int $limit) Take the first or last {$limit} items. Parameters int $limit Return Value Collection

MorphOneOrMany::create()

Model create(array $attributes) Create a new instance of the related model. Parameters array $attributes Return Value Model

FormRequest::replace()

void replace(array $input) Replace the input for the current request. Parameters array $input Return Value void

Route

Route class Route extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the resolve

OptimizeCommand::getOutput()

OutputInterface getOutput() Get the output implementation. Return Value OutputInterface

Connection::getPdo()

PDO getPdo() Get the current PDO connection. Return Value PDO

Logout::__construct()

void __construct(Authenticatable $user) Create a new event instance. Parameters Authenticatable $user Return Value void

MigrateCommand::callSilent()

int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int

MorphMany::getRelationCountQuery()

Builder getRelationCountQuery(Builder $query, Builder $parent) Get the relationship count query. Parameters Builder $query Builder $parent Return Value Builder