/** * @param \jorenvanhocht\Blogify\Models\Category $category * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Blogify\Blogify $blogify * @param \jorenvanhocht\Tracert\Tracert $tracert */ public function __construct(Category $category, Guard $auth, Blogify $blogify, Tracert $tracert) { parent::__construct($auth); $this->category = $category; $this->blogify = $blogify; $this->tracert = $tracert; }
/** * @param \jorenvanhocht\Blogify\Models\Tag $tag * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Blogify\Blogify $blogify * @param \jorenvanhocht\Tracert\Tracert $tracert */ public function __construct(Tag $tag, Guard $auth, Blogify $blogify, Tracert $tracert) { parent::__construct($auth); $this->tag = $tag; $this->blogify = $blogify; $this->tracert = $tracert; }
/** * @param \App\User $user * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Tracert\Tracert $tracert * @param \Illuminate\Contracts\Hashing\Hasher $hash */ public function __construct(User $user, Guard $auth, Tracert $tracert, Hasher $hash) { parent::__construct($auth); $this->middleware('IsOwner', ['only', 'edit']); $this->user = $user; $this->tracert = $tracert; $this->hash = $hash; }
/** * @param \App\User $user * @param \jorenvanhocht\Blogify\Models\Role $role * @param \jorenvanhocht\Blogify\Services\BlogifyMailer $mail * @param \Illuminate\Contracts\Hashing\Hasher $hash * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Blogify\Blogify $blogify * @param \jorenvanhocht\Tracert\Tracert $tracert */ public function __construct(User $user, Role $role, BlogifyMailer $mail, Hash $hash, Guard $auth, Blogify $blogify, Tracert $tracert) { parent::__construct($auth); $this->user = $user; $this->role = $role; $this->mail = $mail; $this->hash = $hash; $this->blogify = $blogify; $this->tracert = $tracert; }
/** * @param \App\User $user * @param \jorenvanhocht\Tracert\Models\History $history * @param \jorenvanhocht\Blogify\Models\Post $post * @param \jorenvanhocht\Blogify\Models\Comment $comment * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Tracert\Tracert $tracert */ public function __construct(User $user, History $history, Post $post, Comment $comment, Guard $auth, Tracert $tracert) { parent::__construct($auth); $this->user = $user; $this->history = $history; $this->post = $post; $this->comment = $comment; $this->tracert = $tracert; $this->{"buildDataArrayFor" . $this->auth_user->role->name}(); }
/** * @param \jorenvanhocht\Blogify\Models\Post $post * @param \Illuminate\Contracts\Auth\Guard $auth */ public function __construct(Post $post, Guard $auth) { parent::__construct($auth); $this->post = $post; }
/** * @param \jorenvanhocht\Blogify\Models\Comment $comment * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Tracert\Tracert $tracert */ public function __construct(Comment $comment, Guard $auth, Tracert $tracert) { parent::__construct($auth); $this->comment = $comment; $this->tracert = $tracert; }
/** * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Tracert\Tracert $tracert */ public function __construct(Guard $auth, Tracert $tracert) { parent::__construct($auth); $this->tracert = $tracert; }
/** * @param \jorenvanhocht\Blogify\Models\Tag $tag * @param \jorenvanhocht\Blogify\Models\Role $role * @param \App\User $user * @param \jorenvanhocht\Blogify\Models\Post $post * @param \jorenvanhocht\Blogify\Services\BlogifyMailer $mail * @param \Illuminate\Contracts\Hashing\Hasher $hash * @param \jorenvanhocht\Blogify\Models\Status $status * @param \Illuminate\Contracts\Cache\Repository $cache * @param \jorenvanhocht\Blogify\Models\Category $category * @param \jorenvanhocht\Blogify\Models\Visibility $visibility * @param \Illuminate\Contracts\Auth\Guard $auth * @param \jorenvanhocht\Blogify\Blogify $blogify * @param \jorenvanhocht\Tracert\Tracert $tracert */ public function __construct(Tag $tag, Role $role, User $user, Post $post, BlogifyMailer $mail, Hasher $hash, Status $status, Repository $cache, Category $category, Visibility $visibility, Guard $auth, Blogify $blogify, Tracert $tracert) { parent::__construct($auth); $this->appendMiddleware(); $this->tag = $tag; $this->role = $role; $this->user = $user; $this->post = $post; $this->mail = $mail; $this->hash = $hash; $this->cache = $cache; $this->status = $status; $this->blogify = $blogify; $this->tracert = $tracert; $this->category = $category; $this->visibility = $visibility; }