public function onceUsingId($id) { if (!is_null($user = $this->provider->retrieveById($id))) { $this->setUser($user); return true; } return false; }