public function registerAliases(array $aliases)
    {

        foreach ($aliases as $alias => $className)
            $this->registerAlias($alias, $className);

        return $this;
    }
public function registerAliases(array $aliases)
    {

        foreach ($aliases as $alias => $className)
            $this->registerAlias($alias, $className);

        return $this;
    }
public function registerAliases ( array $ aliases ) { foreach ( $ aliases as $ alias => $ className ) $ this -> registerAlias ( $ alias , $ className ) ; return $ this ; }
Registers an array of aliases.
The aliases should be the keys, the FQCNs the values of the associative array

@param array $aliases Associative array of aliases => FQCNs

@return $this
Registers an array of aliases . The aliases should be the keys the FQCNs the values of the associative array