Cloud

Cloud interface Cloud implements Filesystem (View source) Methods bool exists(string $path) Determine if a file exists. from Filesystem string get(string $path) Get the contents of a file. from Filesystem bool put(string $path, string|resource $contents, string $visibility = null) Write the contents of a file. from Filesystem string getVisibility(string $path) Get the visibility for the given path. from Filesystem void setVisibility(string $path, string $visibility) Set th

Arr::dot()

static array dot(array $array, string $prepend = '') Flatten a multi-dimensional associative array with dots. Parameters array $array string $prepend Return Value array

MailFake

MailFake class MailFake implements Mailer (View source) Methods void assertSent(string $mailable, callable|null $callback = null) Assert if a mailable was sent based on a truth-test callback. void assertSentTo(mixed $users, string $mailable, callable|null $callback = null) Assert if a mailable was sent based on a truth-test callback. void assertNotSent(string $mailable, callable|null $callback = null) Determine if a mailable was sent based on a truth-test callback. Collection

SessionGuard::getDispatcher()

Dispatcher getDispatcher() Get the event dispatcher instance. Return Value Dispatcher

PolicyMakeCommand::askWithCompletion()

string askWithCompletion(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

ChangesCommand::callSilent()

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

Pivot::getIncrementing()

bool getIncrementing() Get the value indicating whether the IDs are incrementing. Return Value bool

Pivot::addHidden()

void addHidden(array|string|null $attributes = null) Add hidden attributes for the model. Parameters array|string|null $attributes Return Value void

ClearCompiledCommand::line()

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

Builder

Builder class Builder (View source) Traits Macroable