Ejemplo n.º 1
0
 /**
  * Get the aliases for an identifier
  *
  * @param mixed $identifier An KObjectIdentifier, identifier string or object implementing KObjectInterface
  * @return array   An array of aliases
  * @throws KObjectExceptionInvalidIdentifier If the identifier is not valid
  */
 public function getAliases($identifier)
 {
     return array_search((string) $identifier, $this->__registry->getAliases());
 }