src/Codeception/Lib/Connector/Laravel5.php
public function handle(DomRequest $request, $type = self::MASTER_REQUEST, $catch = true) 
    {
        $request = Request::createFromBase($request);
        $request->enableHttpMethodParameterOverride();
        $this->app->bind('request', $request);
        return $this->httpKernel->handle($request);
    }
public function handle(DomRequest $request, $type = self::MASTER_REQUEST, $catch = true) 
    {
        $request = Request::createFromBase($request);
        $request->enableHttpMethodParameterOverride();
        $this->app->bind('request', $request);
        return $this->httpKernel->handle($request);
    }
Handle a request.

@param DomRequest $request
@param int $type
@param bool $catch
@return Response