public function __construct($entity) { parent::__construct($entity); $this->post = app('Modules\\Blog\\Repositories\\PostRepository'); $this->status = app('Modules\\Blog\\Entities\\Status'); }
/** * Create a new instance. * * @param Guard $auth * @param \SebastianBergmann\Diff\Differ $differ * @param \App\Contracts\Revision\RevisionInterface $resource * */ public function __construct(Guard $auth, Differ $differ, $resource) { $this->credentials = $auth; $this->differ = $differ; parent::__construct($resource); }