Owl\Repositories\Fluent\UserRepository::getById PHP Method

getById() public method

Get a user by user_id.
public getById ( $id ) : stdClass
$id int
return stdClass
    public function getById($id)
    {
        return \DB::table($this->getTableName())->where('id', $id)->first();
    }