Ejemplo n.º 1
0
 /**
  * Set an identifier
  *
  * This function will reset the identifier if it has already been set. Use this very carefully as it can have
  * unwanted side-effects.
  *
  * @param KObjectIdentifier  $identifier An ObjectIdentifier
  * @return KObjectManager
  */
 public function setIdentifier(KObjectIdentifier $identifier)
 {
     $this->__registry->set($identifier);
     return $this;
 }