Table of Contents
Properties
-
$session
: mixed
Methods
-
testHandleLogin()
: mixed
-
assertLocationHeader()
: mixed
-
createRequest()
: ServerRequestInterface
-
getAppInstance()
: App
-
getSession()
: Session
-
setUp()
: void
$session
private
mixed
$session
testHandleLogin()
public
testHandleLogin() : mixed
protected
assertLocationHeader(mixed $expectedLocation, ResponseInterface $response[, string $message = "" ]) : mixed
Parameters
-
$expectedLocation
: mixed
-
-
$response
: ResponseInterface
-
-
$message
: string
= ""
-
createRequest()
protected
createRequest(string $method, string $path[, array<string|int, mixed> $headers = ["HTTP_ACCEPT" => "application/json"] ][, array<string|int, mixed>|null $body = null ][, array<string|int, mixed> $cookies = [] ][, array<string|int, mixed> $serverParams = [] ]) : ServerRequestInterface
Parameters
-
$method
: string
-
-
$path
: string
-
-
$headers
: array<string|int, mixed>
= ["HTTP_ACCEPT" => "application/json"]
-
-
$body
: array<string|int, mixed>|null
= null
-
-
$cookies
: array<string|int, mixed>
= []
-
-
$serverParams
: array<string|int, mixed>
= []
-
Return values
ServerRequestInterface
getAppInstance()
protected
getAppInstance() : App
getSession()
protected
getSession() : Session
setUp()
protected
setUp() : void