AssertionsTrait::assertSessionHasAll()

void assertSessionHasAll(array $bindings) Assert that the session has a given list of values. Parameters array $bindings Return Value void

AssertionsTrait::assertSessionHas()

void assertSessionHas(string|array $key, mixed $value = null) Assert that the session has a given value. Parameters string|array $key mixed $value Return Value void

AssertionsTrait::assertResponseStatus()

void assertResponseStatus(int $code) Assert that the client response has a given code. Parameters int $code Return Value void

AssertionsTrait::assertResponseOk()

void assertResponseOk() Assert that the client response has an OK status code. Return Value void

AssertionsTrait::assertRedirectedToRoute()

void assertRedirectedToRoute(string $name, array $parameters = array(), array $with = array()) Assert whether the client was redirected to a given route. Parameters string $name array $parameters array $with Return Value void

AssertionsTrait::assertRedirectedToAction()

void assertRedirectedToAction(string $name, array $parameters = array(), array $with = array()) Assert whether the client was redirected to a given action. Parameters string $name array $parameters array $with Return Value void

AssertionsTrait::assertRedirectedTo()

void assertRedirectedTo(string $uri, array $with = array()) Assert whether the client was redirected to a given URI. Parameters string $uri array $with Return Value void

AssertionsTrait::assertHasOldInput()

void assertHasOldInput() Assert that the session has old input. Return Value void

AssertionsTrait

AssertionsTrait trait AssertionsTrait (View source) Methods void assertResponseOk() Assert that the client response has an OK status code. void assertResponseStatus(int $code) Assert that the client response has a given code. void assertViewHas(string|array $key, mixed $value = null) Assert that the response view has a given piece of bound data. void assertViewHasAll(array $bindings) Assert that the view has a given list of bound data. void assertViewMissing(string $ke

ArtisanStarting::__construct()

void __construct(Application $artisan) Create a new event instance. Parameters Application $artisan Return Value void