/** * The constructor. */ function __construct() { $this->response = \App::make('Paxifi\\Support\\Response\\Response'); $this->response->setRequestedScopes(explode(',', \Input::get('embed'))); $this->perPage = \Input::get('count', \Config::get('paxifi.api.pagination.count.default')); $this->paginationEnabled = \Config::get('paxifi.api.pagination.enabled'); parent::__construct(); }