public function create(ModelInterface $model)
    {
        $comment = $this->container->make(CommentSingularity::class);

        $comment
            ->setModel($model)
            ->boot();

        return $comment;
    }
public function create(ModelInterface $model)
    {
        $comment = $this->container->make(CommentSingularity::class);

        $comment
            ->setModel($model)
            ->boot();

        return $comment;
    }
public function create ( ModelInterface $ model ) { $ comment = $ this -> container -> make ( CommentSingularity :: class ) ; $ comment -> setModel ( $ model ) -> boot ( ) ; return $ comment ; }
Create comment.

@param  \Assely\Contracts\Singularity\Model\ModelInterface $model

@return \Assely\Comment\CommentSingularity
Create comment .