public function __construct(Model $product, Model $review, CategoryRepositoryInterface $categoryRepository, UserRepositoryInterface $userRepository) { parent::__construct($product); $this->product = $product; $this->review = $review; $this->categoryRepository = $categoryRepository; $this->userRepository = $userRepository; }
public function create(array $data) { $result = parent::create($data); Event::fire(new MessageWasCreated($result)); }
public function __construct(Model $channel) { parent::__construct($channel); $this->channel = $channel; }
public function __construct(Model $internetSession) { parent::__construct($internetSession); $this->internetSession = $internetSession; }
public function __construct(Model $book) { parent::__construct($book); $this->book = $book; }
public function __construct(Model $user) { parent::__construct($user); $this->user = $user; }
public function __construct(Model $key, InternetSessionRepositoryInterface $internetSessionRepository) { parent::__construct($key); $this->key = $key; $this->internetSessionRepository = $internetSessionRepository; }
public function __construct(Model $category) { parent::__construct($category); $this->category = $category; }