PHP Class Codeception\Lib\Connector\Laravel5

Inheritance: extends Symfony\Component\HttpKernel\Client
Show file Open project: janhenkgerritsen/codeception-laravel5

Public Methods

Method Description
__construct ( Illuminate\Foundation\Application $app ) Constructor.
handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response Handle a request.
terminate ( Request $request, Response $response ) Terminates a request/response cycle.

Method Details

__construct() public method

Constructor.
public __construct ( Illuminate\Foundation\Application $app )
$app Illuminate\Foundation\Application

handle() public method

Handle a request.
public handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response
$request Symfony\Component\HttpFoundation\Request
$type integer
$catch boolean
return Symfony\Component\HttpFoundation\Response

terminate() public method

Terminates a request/response cycle.
public terminate ( Request $request, Response $response )
$request Symfony\Component\HttpFoundation\Request A Request instance
$response Symfony\Component\HttpFoundation\Response A Response instance