original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: 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
docstring_tokens: Removes the layout item alias