Owl\Repositories\Fluent\CommentRepository::getCommentById PHP Method

getCommentById() public method

Get a comment by comment id.
public getCommentById ( $id ) : Illuminate\Database\Eloquent\Model
$id int
return Illuminate\Database\Eloquent\Model
    public function getCommentById($id)
    {
        return \DB::table($this->getTableName())->where($this->getTableName() . '.id', $id)->first();
    }