App\Repositories\CommentRepository::__construct PHP Method

__construct() public method

CommentRepository constructor.
public __construct ( Comment $comment, Post $post )
$comment app\models\Comment
$post app\models\Post
    public function __construct(Comment $comment, Post $post)
    {
        $this->model = $comment;
        $this->post = $post;
    }