public function registerObject($object, $identifier)
    {
        $this->objectMap[$object] = $identifier;
        $this->identifierMap[$identifier] = $object;
    }
public function registerObject($object, $identifier)
    {
        $this->objectMap[$object] = $identifier;
        $this->identifierMap[$identifier] = $object;
    }
public function registerObject ( $ object , $ identifier ) { $ this -> objectMap [ $ object ] = $ identifier ; $ this -> identifierMap [ $ identifier ] = $ object ; }
Register an identifier for an object

@param object $object
@param string $identifier
@api
Register an identifier for an object