ListFailedCommand::choice()

string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string

EventFake::assertNotFired()

void assertNotFired(string $event, callable|null $callback = null) Determine if an event was fired based on a truth-test callback. Parameters string $event callable|null $callback Return Value void

Model::unguard()

static void unguard(bool $state = true) Disable all mass assignable restrictions. Parameters bool $state Return Value void

MySqlConnection::bindValues()

void bindValues(PDOStatement $statement, array $bindings) Bind values to their parameters in the given statement. Parameters PDOStatement $statement array $bindings Return Value void

Application::wrap()

Closure wrap(Closure $callback, array $parameters = array()) Wrap the given closure such that its dependencies will be injected when executed. Parameters Closure $callback array $parameters Return Value Closure

DatabaseMigrationRepository

DatabaseMigrationRepository class DatabaseMigrationRepository implements MigrationRepositoryInterface (View source) Methods void __construct(ConnectionResolverInterface $resolver, string $table) Create a new database migration repository instance. array getRan() Get the ran migrations. array getMigrations(int $steps) Get list of migrations. array getLast() Get the last migration batch. void log(string $file, int $batch) Log that a migration was run. void delete(ob

SessionGuard::getProvider()

UserProvider getProvider() Get the user provider used by the guard. Return Value UserProvider

HasInElement::__construct()

void __construct(string $element, string $text) Create a new constraint instance. Parameters string $element string $text Return Value void

MySqlConnection::cursor()

cursor($query, $bindings = array(), $useReadPdo = true) Parameters $query $bindings $useReadPdo

WithoutMiddleware

WithoutMiddleware trait WithoutMiddleware (View source) Methods disableMiddlewareForAllTests() Prevent all middleware from being executed for this test class.