AppserverIo\Appserver\Naming\NamingDirectory::getIdentifier PHP Метод

getIdentifier() публичный Метод

The unique identifier of this directory. That'll be build up recursive from the scheme and the root directory.
См. также: AppserverIo\Storage\StorageInterface::getIdentifier()
public getIdentifier ( ) : string
Результат string The unique identifier
    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()));
    }