/**
  * @return string
  */
 public function getMobile()
 {
     return $this->mobile->get();
 }
 /**
  * @return Attribute
  */
 public function getRegisteredAddress()
 {
     return $this->registeredAddress->get();
 }
 /**
  * @return Attribute
  */
 public function getEmail()
 {
     return $this->mail->get();
 }
 /**
  * @return Attribute
  */
 public function getDisplayName()
 {
     return $this->displayName->get();
 }
 /**
  * @return Attribute
  */
 public function getGpgPublicKey()
 {
     return $this->gpgPublicKey->get();
 }
 /**
  * @param mixed $gecos
  * @return PosixAccount
  */
 public function setGecos($gecos)
 {
     $this->gecos->get($gecos);
     return $this;
 }
Пример #7
0
 /**
  * @return mixed
  *
  * @Assert\NotBlank()
  */
 public function getCn()
 {
     return $this->cn->get();
 }
 /**
  * @return string
  */
 public function getShadowExpire()
 {
     return $this->shadowExpire->get();
 }
Пример #9
0
 /**
  * @return string
  *
  * @Assert\NotBlank()
  */
 public function getAuthLabel()
 {
     return $this->authLabel->get();
 }
 /**
  * @param Attribute $authRole
  * @return LenticularUser
  */
 public function removeAuthRole($authRole)
 {
     foreach ($this->authRoles as $authRole) {
         if ($authRole->get() == $authRole) {
             $this->authRoles->remove($authRole);
         }
     }
     return $this;
 }