public function __construct(File $files) { $this->files = $files; parent::__construct($this->files); }
public function __construct(Task $task) { $this->task = $task; parent::__construct($this->task); }
public function __construct(Unit $unit) { $this->unit = $unit; parent::__construct($this->unit); }
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); }
public function __construct(Order $order) { $this->order = $order; parent::__construct($this->order); }
public function __construct(Ship $ship) { $this->ship = $ship; parent::__construct($this->ship); }
public function __construct(User $user) { $this->user = $user; parent::__construct($this->user); }
public function __construct(News $news) { $this->news = $news; parent::__construct($this->news); }
public function __construct(Category $category) { $this->category = $category; parent::__construct($this->category); }
public function __construct(Network $network) { $this->network = $network; parent::__construct($this->network); }
public function __construct(Purpose $purpose) { $this->purpose = $purpose; parent::__construct($this->purpose); }
/** * UsersRepository. * * @param User $user */ public function __construct(User $user) { parent::__construct($user); }