Session

Session class Session 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 res

NotificationFake::assertSentTo()

void assertSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Assert if a notification was sent based on a truth-test callback. Parameters mixed $notifiable string $notification callable|null $callback Return Value void

Collection::pluck()

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

EventFake::subscribe()

void subscribe(object|string $subscriber) Register an event subscriber with the dispatcher. Parameters object|string $subscriber Return Value void

EncryptedStore::setPreviousUrl()

void setPreviousUrl(string $url) Set the "previous" URL in the session. Parameters string $url Return Value void

Validator::invalid()

array invalid() Returns the data which was invalid. Return Value array

Paginator::items()

array items() Get the slice of items being paginated. Return Value array

Arr::prepend()

static array prepend(array $array, mixed $value, mixed $key = null) Push an item onto the beginning of an array. Parameters array $array mixed $value mixed $key Return Value array

ConsoleServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

Connection::prepareBindings()

array prepareBindings(array $bindings) Prepare the query bindings for execution. Parameters array $bindings Return Value array