User::fromDateTime()

string fromDateTime(DateTime|int $value) Convert a DateTime to a storable string. Parameters DateTime|int $value Return Value string

DatabaseManager::disconnect()

void disconnect(string $name = null) Disconnect from the given database. Parameters string $name Return Value void

HasOne::getHasCompareKey()

string getHasCompareKey() Get the key for comparing against the parent key in "has" query. Return Value string

Pivot::getTable()

string getTable() Get the table associated with the model. Return Value string

ConsoleMakeCommand::__construct()

void __construct(Filesystem $files) Create a new controller creator command instance. Parameters Filesystem $files Return Value void

Router::currentRouteNamed()

bool currentRouteNamed(string $name) Determine if the current route matches a given name. Parameters string $name Return Value bool

SqlServerGrammar::parameterize()

string parameterize(array $values) Create query parameter place-holders for an array. Parameters array $values Return Value string

Form::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

StatefulGuard::onceUsingId()

bool onceUsingId(mixed $id) Log the given user ID into the application without sessions or cookies. Parameters mixed $id Return Value bool

Model::hasMany()

HasMany hasMany(string $related, string $foreignKey = null, string $localKey = null) Define a one-to-many relationship. Parameters string $related string $foreignKey string $localKey Return Value HasMany