protected function setResponseStaticInstances() { Response::setFormatters($this->config('formats')); Response::setTransformer($this->app['api.transformer']); Response::setEventDispatcher($this->app['events']); }