public function __construct(Model $snippet, TagRepositoryInterface $tag, UserRepositoryInterface $user) { parent::__construct($snippet); $this->snippet = $snippet; $this->tag = $tag; $this->user = $user; }
public function __construct(Model $user) { parent::__construct($user); $this->user = $user; }
public function __construct(Model $tag) { parent::__construct($tag); $this->tag = $tag; }