public function __construct($app) { $this->app = $app; $items = (array) $app->make('config'); $items = end($items); parent::__construct($items); $this->init(); }