Filesystem::cleanDirectory()

bool cleanDirectory(string $directory) Empty the specified directory of all files and folders. Parameters string $directory Return Value bool

LengthAwarePaginator::getCollection()

Collection getCollection() Get the paginator's underlying collection. Return Value Collection

Authenticatable::getAuthPassword()

string getAuthPassword() Get the password for the user. Return Value string

InteractsWithDatabase::seed()

void seed(string $class = 'DatabaseSeeder') Seed a given database connection. Parameters string $class Return Value void

InteractsWithAuthentication::seeIsAuthenticated()

$this seeIsAuthenticated(string|null $guard = null) Assert that the user is authenticated. Parameters string|null $guard Return Value $this

CacheBasedSessionHandler::getCache()

Repository getCache() Get the underlying cache repository. Return Value Repository

Builder::__construct()

void __construct(ConnectionInterface $connection, Grammar $grammar = null, Processor $processor = null) Create a new query builder instance. Parameters ConnectionInterface $connection Grammar $grammar Processor $processor Return Value void

MorphPivot::saving()

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

MocksApplicationServices::withoutObservers()

$this withoutObservers(array|string $observers) Specify a list of observers that will not run for the given operation. Parameters array|string $observers Return Value $this

BroadcastManager

BroadcastManager class BroadcastManager implements Factory (View source) Methods void __construct(Application $app) Create a new manager instance. void routes(array $attributes = null) Register the routes for handling broadcast authentication and sockets. string|null socket(Request|null $request = null) Get the socket ID for the given request. PendingBroadcast|void event(mixed|null $event = null) Begin broadcasting an event. void queue(mixed $event) Queue the given eve