DatabaseManager

DatabaseManager class DatabaseManager implements ConnectionResolverInterface (View source) Methods void __construct(Application $app, ConnectionFactory $factory) Create a new database manager instance. ConnectionInterface connection(string $name = null) Get a database connection instance. void purge(string $name = null) Disconnect from the given database and remove from local cache. void disconnect(string $name = null) Disconnect from the given database. Connection rec

MigrateMakeCommand::hasOption()

bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool

Pivot::withHidden()

$this withHidden(array|string $attributes) deprecated deprecated since version 5.2. Use the "makeVisible" method directly. Make the given, typically hidden, attributes visible. Parameters array|string $attributes Return Value $this

SessionGuard::user()

Authenticatable|null user() Get the currently authenticated user. Return Value Authenticatable|null

MakesHttpRequests::dontSeeLink()

$this dontSeeLink(string $text, string|null $url = null) Assert that a given link is not seen on the page. Parameters string $text string|null $url Return Value $this

MorphOneOrMany::touch()

void touch() Touch all of the related models for the relationship. Return Value void

Guard::getRequest()

Request getRequest() Get the current request instance. Return Value Request

Application::getCachedCompilePath()

string getCachedCompilePath() Get the path to the cached "compiled.php" file. Return Value string

SessionTableCommand::callSilent()

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

SortedMiddleware::toArray()

array toArray() Get the collection of items as a plain array. Return Value array