AliasCollection.php
public function removeById($id)
    {
        if (isset($this->ids[$id])) {
            foreach ($this->ids[$id] as $alias) {
                unset($this->aliases[$alias]);
            }
            unset($this->ids[$id]);
        }

        return $this;
    }
public function removeById($id)
    {
        if (isset($this->ids[$id])) {
            foreach ($this->ids[$id] as $alias) {
                unset($this->aliases[$alias]);
            }
            unset($this->ids[$id]);
        }

        return $this;
    }
public function removeById ( $ id ) { if ( isset ( $ this -> ids [ $ id ] ) ) { foreach ( $ this -> ids [ $ id ] as $ alias ) { unset ( $ this -> aliases [ $ alias ] ) ; } unset ( $ this -> ids [ $ id ] ) ; } return $ this ; }
Removes all aliases for the specified item

@param string $id The identifier of item which aliases should be removed

@return self
Removes all aliases for the specified item