public function removeAlias($alias)
    {
        $this->validateAlias($alias);
        if (!$this->aliases->has($alias)) {
            throw new Exception\AliasNotFoundException(sprintf('The "%s" item alias does not exist.', $alias));
        }

        $this->aliases->remove($alias);
    }
public function removeAlias($alias)
    {
        $this->validateAlias($alias);
        if (!$this->aliases->has($alias)) {
            throw new Exception\AliasNotFoundException(sprintf('The "%s" item alias does not exist.', $alias));
        }

        $this->aliases->remove($alias);
    }
public function removeAlias ( $ alias ) { $ this -> validateAlias ( $ alias ) ; if ( ! $ this -> aliases -> has ( $ alias ) ) { throw new Exception \ AliasNotFoundException ( sprintf ( 'The "%s" item alias does not exist.' , $ alias ) ) ; } $ this -> aliases -> remove ( $ alias ) ; }
Removes the layout item alias

@param string $alias The layout item alias

@throws Exception\InvalidArgumentException if the alias is empty
@throws Exception\AliasNotFoundException if the alias does not exist
Removes the layout item alias