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

getCommentUserById() public method

Get a comment user by comment id.
public getCommentUserById ( $id ) : Illuminate\Database\Eloquent\Model
$id int
return Illuminate\Database\Eloquent\Model
    public function getCommentUserById($id)
    {
        return \DB::table($this->getTableName())->select('users.*')->join('users', 'users.id', '=', $this->getTableName() . '.user_id')->where($this->getTableName() . '.id', $id)->first();
    }