public function newSlimOutput(Request $request, Response $response)
    {
        $config = $this->config->getCurrentResourceConfiguration();

        return new SlimOutput(
            $request,
            $response,
            $this->newSerializer($config),
            $this->newResource($config)
        );
    }
public function newSlimOutput(Request $request, Response $response)
    {
        $config = $this->config->getCurrentResourceConfiguration();

        return new SlimOutput(
            $request,
            $response,
            $this->newSerializer($config),
            $this->newResource($config)
        );
    }
public function newSlimOutput ( Request $ request , Response $ response ) { $ config = $ this -> config -> getCurrentResourceConfiguration ( ) ; return new SlimOutput ( $ request , $ response , $ this -> newSerializer ( $ config ) , $ this -> newResource ( $ config ) ) ; }
Creates a SlimOutput instance to be used with the slim PHP framework.

@param Request $request
@param Response $response
@return SlimOutput
Creates a SlimOutput instance to be used with the slim PHP framework .