src/Util/Autoloader.php
public  function addClassPath($path) {
        if(!is_array($path)) {
            $path = array($path);
        }
        foreach($path as $item) {
            $this->classPaths[] = $item;
        }
    }
public  function addClassPath($path) {
        if(!is_array($path)) {
            $path = array($path);
        }
        foreach($path as $item) {
            $this->classPaths[] = $item;
        }
    }
public function addClassPath ( $ path ) { if ( ! is_array ( $ path ) ) { $ path = array ( $ path ) ; } foreach ( $ path as $ item ) { $ this -> classPaths [ ] = $ item ; } }
Adds a path to search in when looking for a class.

@param string $path
@return void
Adds a path to search in when looking for a class .