示例#1
0
 /**
  * Return the expiration date.
  *
  * @param PasswordCreation $passwordCreation
  * @return string
  */
 public function getExpiration(PasswordCreation $passwordCreation)
 {
     return $this->getServiceLocator()->get('ViewHelperManager')->get('i18n')->dateFormat($passwordCreation->getExpiration(), 'medium', 'medium');
 }
 /**
  * {@inheritDoc}
  */
 public function getExpiration()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getExpiration', array());
     return parent::getExpiration();
 }