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

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

Unbinds the named object from the naming directory.
public unbind ( string $name ) : void
$name string The name of the object to unbind
Результат void
    public function unbind($name)
    {
        try {
            // strip off the schema
            $key = $this->stripSchema($name);
            $this->removeAttribute($key);
        } catch (\Exception $e) {
            throw new NamingException(sprintf('Cant\'t unbind %s from naming directory %s', $name, $this->getIdentifier()), null, $e);
        }
    }