public function fromArray(array $properties, $replace = false) { if (isset($properties[self::AUTHENTICATION_INFO]) && is_array($properties[self::AUTHENTICATION_INFO])) { $authenticationInfo = new AuthenticationInfo(); $authenticationInfo->fromArray($properties[self::AUTHENTICATION_INFO]); $this->setAuthenticationInfo($authenticationInfo); unset($properties[self::AUTHENTICATION_INFO]); } parent::fromArray($properties); }