Esempio n. 1
0
 public function __construct($entity)
 {
     parent::__construct($entity);
     $this->post = app('Modules\\Blog\\Repositories\\PostRepository');
     $this->status = app('Modules\\Blog\\Entities\\Status');
 }
Esempio n. 2
0
 /**
  * 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);
 }