Esempio n. 1
0
 /**
  * Return an absolute URL to the create password page.
  *
  * @param PasswordCreation $passwordCreation
  * @return string
  */
 public function getCreatePasswordUrl(PasswordCreation $passwordCreation)
 {
     return $this->getServiceLocator()->get('ControllerPluginManager')->get('Url')->fromRoute('create-password', ['key' => $passwordCreation->getId()], ['force_canonical' => true]);
 }
 /**
  * {@inheritDoc}
  */
 public function getId()
 {
     if ($this->__isInitialized__ === false) {
         return parent::getId();
     }
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array());
     return parent::getId();
 }