MorphOne::firstOrCreate()

Model firstOrCreate(array $attributes) Get the first related record matching the attributes or create it. Parameters array $attributes Return Value Model

WorkCommand::comment()

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

Filesystem::deleteDirectory()

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

ClearCompiledCommand::setLaravel()

void setLaravel(Container $laravel) Set the Laravel application instance. Parameters Container $laravel Return Value void

ReminderServiceProvider::register()

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

HasOneOrMany::rawUpdate()

int rawUpdate(array $attributes = array()) Run a raw update against the base query. Parameters array $attributes Return Value int

DatabaseUserProvider

DatabaseUserProvider class DatabaseUserProvider implements UserProvider (View source) Methods void __construct(ConnectionInterface $conn, Hasher $hasher, string $table) Create a new database user provider. Authenticatable|null retrieveById(mixed $identifier) Retrieve a user by their unique identifier. Authenticatable|null retrieveByToken(mixed $identifier, string $token) Retrieve a user by their unique identifier and "remember me" token. void updateRememberToken(Authenticat

Application::__construct()

void __construct(Container $laravel, Dispatcher $events, string $version) Create a new Artisan console application. Parameters Container $laravel Dispatcher $events string $version Return Value void

Collection::offsetGet()

mixed offsetGet(mixed $key) Get an item at a given offset. Parameters mixed $key Return Value mixed

Container::forgetInstance()

void forgetInstance(string $abstract) Remove a resolved instance from the instance cache. Parameters string $abstract Return Value void