Factory::forever()

Cookie forever(string $name, string $value, string $path = null, string $domain = null, bool $secure = false, bool $httpOnly = true) Create a cookie that lasts "forever" (five years). Parameters string $name string $value string $path string $domain bool $secure bool $httpOnly Return Value Cookie

SessionTableCommand::option()

string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array

CallbackEvent::yearly()

$this yearly() Schedule the event to run yearly. Return Value $this

DatabaseNotification::isDirty()

bool isDirty(array|string|null $attributes = null) Determine if the model or given attribute(s) have been modified. Parameters array|string|null $attributes Return Value bool

PostgresConnection::pretending()

bool pretending() Determine if the connection in a "dry run". Return Value bool

Container::extend()

void extend(string $abstract, Closure $closure) "Extend" an abstract type in the container. Parameters string $abstract Closure $closure Return Value void Exceptions InvalidArgumentException

MorphPivot::getOriginal()

array getOriginal(string|null $key = null, mixed $default = null) Get the model's original attribute values. Parameters string|null $key mixed $default Return Value array

Mailable::queue()

mixed queue(Factory $queue) Queue the message for sending. Parameters Factory $queue Return Value mixed

Cloud::deleteDirectory()

bool deleteDirectory(string $directory) Recursively delete a directory. Parameters string $directory Return Value bool

Application::path()

string path() Get the path to the application "app" directory. Return Value string