public function registerClasses($classes, $merge = true)
    {
        if (DIRECTORY_SEPARATOR === '\\') {
            foreach ($classes as $key => $path) {
                $classes[$key] = strtr($path, '\\', '/');
            }
        }

        $this->_classes = $merge ? array_merge($this->_classes, $classes) : $classes;

        return $this;
    }
public function registerClasses($classes, $merge = true)
    {
        if (DIRECTORY_SEPARATOR === '\\') {
            foreach ($classes as $key => $path) {
                $classes[$key] = strtr($path, '\\', '/');
            }
        }

        $this->_classes = $merge ? array_merge($this->_classes, $classes) : $classes;

        return $this;
    }
public function registerClasses ( $ classes , $ merge = true ) { if ( DIRECTORY_SEPARATOR === '\\' ) { foreach ( $ classes as $ key => $ path ) { $ classes [ $ key ] = strtr ( $ path , '\\' , '/' ) ; } } $ this -> _classes = $ merge ? array_merge ( $ this -> _classes , $ classes ) : $ classes ; return $ this ; }
Register classes and their locations

@param array $classes
@param bool  $merge

@return static
Register classes and their locations