예제 #1
0
 /**
  * @param \UthandoUser\Model\User $object
  * @return array
  */
 public function extract($object)
 {
     return ['userId' => $object->getUserId(), 'firstname' => $object->getFirstname(), 'lastname' => $object->getLastname(), 'email' => $object->getEmail(), 'passwd' => $this->extractValue('passwd', $object->getPasswd()), 'role' => $object->getRole(), 'dateCreated' => $this->extractValue('dateCreated', $object->getDateCreated()), 'dateModified' => $this->extractValue('dateModified', $object->getDateModified()), 'active' => $this->extractValue('active', $object->getActive())];
 }