public function getArraySession(WcUser $user)
 {
     $arraySession = ['id' => $user->getId(), 'firstname' => $user->getFirstname(), 'lastname' => $user->getLastname(), 'email' => $user->getEmail(), 'level' => $user->getLevel(), 'status' => $user->getStatus(), 'owner' => ['id' => $user->getOwner()->getId(), 'firstname' => $user->getOwner()->getFirstname(), 'lastname' => $user->getOwner()->getLastname(), 'email' => $user->getOwner()->getEmail()], 'language' => ['id' => $user->getLanguage()->getId(), 'name' => $user->getLanguage()->getName(), 'flag' => $user->getLanguage()->getFlag(), 'abbreviation' => $user->getLanguage()->getAbbreviation()], 'created_at' => $user->getCreatedAt()->format('Y-m-d H:i:s'), 'updated_at' => $user->getUpdatedAt()->format('Y-m-d H:i:s'), 'user_created' => ['id' => $user->getUserCreated() ? $user->getUserCreated()->getId() : '', 'firstname' => $user->getUserCreated() ? $user->getUserCreated()->getFirstname() : '', 'lastname' => $user->getUserCreated() ? $user->getUserCreated()->getLastname() : '', 'email' => $user->getUserCreated() ? $user->getUserCreated()->getEmail() : ''], 'user_updated' => ['id' => $user->getUserUpdated() ? $user->getUserUpdated()->getId() : '', 'firstname' => $user->getUserUpdated() ? $user->getUserUpdated()->getFirstname() : '', 'lastname' => $user->getUserUpdated() ? $user->getUserUpdated()->getLastname() : '', 'email' => $user->getUserUpdated() ? $user->getUserUpdated()->getEmail() : '']];
     $object = new ClassMethods();
     /** @var \Auth\Service\AuthUserEntity $authUserEntity */
     $authUserEntity = new AuthUserEntity();
     $object->hydrate($arraySession, $authUserEntity);
     return $authUserEntity;
 }
 /**
  * {@inheritDoc}
  */
 public function getLevel()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getLevel', array());
     return parent::getLevel();
 }