public function getIdentifier()
    {

        // check if we've a parent directory
        if ($parent = $this->getParent()) {
            return $parent->getIdentifier() . $this->getName() . '/';
        }

        // load the scheme to prerpare the identifier with
        if ($scheme = $this->getScheme()) {
            return $scheme . ':' . $this->getName();
        }

        // the root node needs a scheme
        throw new NamingException(sprintf('Missing scheme for naming directory', $this->getName()));
    }
public function getIdentifier()
    {

        // check if we've a parent directory
        if ($parent = $this->getParent()) {
            return $parent->getIdentifier() . $this->getName() . '/';
        }

        // load the scheme to prerpare the identifier with
        if ($scheme = $this->getScheme()) {
            return $scheme . ':' . $this->getName();
        }

        // the root node needs a scheme
        throw new NamingException(sprintf('Missing scheme for naming directory', $this->getName()));
    }
public function getIdentifier ( ) { // check if we've a parent directory if ( $ parent = $ this -> getParent ( ) ) { return $ parent -> getIdentifier ( ) . $ this -> getName ( ) . '/' ; } // load the scheme to prerpare the identifier with if ( $ scheme = $ this -> getScheme ( ) ) { return $ scheme . ':' . $ this -> getName ( ) ; } // the root node needs a scheme throw new NamingException ( sprintf ( 'Missing scheme for naming directory' , $ this -> getName ( ) ) ) ; }
The unique identifier of this directory. That'll be build up
recursive from the scheme and the root directory.

@return string The unique identifier
@see \AppserverIo\Storage\StorageInterface::getIdentifier()

@throws \AppserverIo\Psr\Naming\NamingException
The unique identifier of this directory . That ll be build up recursive from the scheme and the root directory .