/** * Ebook constructor. * * @param array $attributes */ public function __construct(array $attributes = []) { parent::__construct($attributes); $this->config(['featured_image' => config('ebook.featured_image')]); }