Owl\Repositories\Fluent\UserRepository::getById PHP 메소드

getById() 공개 메소드

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