src/Transformer/Factory.php
public function getRequest()
    {
        $request = $this->container['request'];

        if ($request instanceof IlluminateRequest && ! $request instanceof Request) {
            $request = (new Request())->createFromIlluminate($request);
        }

        return $request;
    }
public function getRequest()
    {
        $request = $this->container['request'];

        if ($request instanceof IlluminateRequest && ! $request instanceof Request) {
            $request = (new Request())->createFromIlluminate($request);
        }

        return $request;
    }
public function getRequest ( ) { $ request = $ this -> container [ 'request' ] ; if ( $ request instanceof IlluminateRequest && ! $ request instanceof Request ) { $ request = ( new Request ( ) ) -> createFromIlluminate ( $ request ) ; } return $ request ; }
Get the request from the container.

@return \Dingo\Api\Http\Request
Get the request from the container .