예제 #1
0
 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;
 }
예제 #5
0
 public function __construct(Model $book)
 {
     parent::__construct($book);
     $this->book = $book;
 }
예제 #6
0
 public function __construct(Model $user)
 {
     parent::__construct($user);
     $this->user = $user;
 }
예제 #7
0
 public function __construct(Model $key, InternetSessionRepositoryInterface $internetSessionRepository)
 {
     parent::__construct($key);
     $this->key = $key;
     $this->internetSessionRepository = $internetSessionRepository;
 }
예제 #8
0
 public function __construct(Model $category)
 {
     parent::__construct($category);
     $this->category = $category;
 }