Example #1
0
 public function __construct(File $files)
 {
     $this->files = $files;
     parent::__construct($this->files);
 }
 public function __construct(Task $task)
 {
     $this->task = $task;
     parent::__construct($this->task);
 }
Example #3
0
 public function __construct(Unit $unit)
 {
     $this->unit = $unit;
     parent::__construct($this->unit);
 }
Example #4
0
 public function __construct(Kind $kind)
 {
     $this->kind = $kind;
     parent::__construct($this->kind);
 }
 /**
  * @param string $query
  * @param int    $page
  *
  * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
  */
 public function search($query, $page = 1)
 {
     // query to aql
     return parent::likeSearch('name', $query);
 }
Example #6
0
 public function __construct(Order $order)
 {
     $this->order = $order;
     parent::__construct($this->order);
 }
Example #7
0
 public function __construct(Ship $ship)
 {
     $this->ship = $ship;
     parent::__construct($this->ship);
 }
Example #8
0
 public function __construct(User $user)
 {
     $this->user = $user;
     parent::__construct($this->user);
 }
Example #9
0
 public function __construct(News $news)
 {
     $this->news = $news;
     parent::__construct($this->news);
 }
Example #10
0
 public function __construct(Category $category)
 {
     $this->category = $category;
     parent::__construct($this->category);
 }
Example #11
0
 public function __construct(Network $network)
 {
     $this->network = $network;
     parent::__construct($this->network);
 }
Example #12
0
 public function __construct(Purpose $purpose)
 {
     $this->purpose = $purpose;
     parent::__construct($this->purpose);
 }
 /**
  * UsersRepository.
  * 
  * @param User $user
  */
 public function __construct(User $user)
 {
     parent::__construct($user);
 }