Connection::getConfig()

mixed getConfig(string $option) Get an option from the configuration options. Parameters string $option Return Value mixed

Application::detectEnvironment()

string detectEnvironment(Closure $callback) Detect the application's current environment. Parameters Closure $callback Return Value string

User::deleting()

static void deleting(Closure|string $callback, int $priority) Register a deleting model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void

UrlRoutable

UrlRoutable interface UrlRoutable (View source) Methods mixed getRouteKey() Get the value of the model's route key. string getRouteKeyName() Get the route key for the model.

LengthAwarePaginator::viewFactoryResolver()

static void viewFactoryResolver(Closure $resolver) Set the view factory resolver callback. Parameters Closure $resolver Return Value void

MorphOneOrMany::getRelationCountQuery()

Builder getRelationCountQuery(Builder $query, Builder $parent) Add the constraints for a relationship count query. Parameters Builder $query Builder $parent Return Value Builder

SeedCommand::__construct()

void __construct(ConnectionResolverInterface $resolver) Create a new database seed command instance. Parameters ConnectionResolverInterface $resolver Return Value void

KeyGeneratorServiceProvider::boot()

void boot() Bootstrap the application events. Return Value void

CommandsServiceProvider::register()

void register() Register the service provider. Return Value void

ApplicationTrait::actingAs()

$this actingAs(Authenticatable $user, string|null $driver = null) Set the currently logged in user for the application. Parameters Authenticatable $user string|null $driver Return Value $this