SwatDB/SwatDBClassMap.php
public static function addPath($search_path)
    {
        if (!in_array($search_path, self::$search_paths, true)) {
            // add path to front of array since it is more likely we will find
            // class-definitions in manually added search paths
            array_unshift(self::$search_paths, $search_path);
        }
    }
public static function addPath($search_path)
    {
        if (!in_array($search_path, self::$search_paths, true)) {
            // add path to front of array since it is more likely we will find
            // class-definitions in manually added search paths
            array_unshift(self::$search_paths, $search_path);
        }
    }
public static function addPath ( $ search_path ) { if ( ! in_array ( $ search_path , self :: $ search_paths , true ) ) { // add path to front of array since it is more likely we will find // class-definitions in manually added search paths array_unshift ( self :: $ search_paths , $ search_path ) ; } }
Adds a search path for class-definition files

When an undefined class is resolved, the class map attempts to find
and require a class-definition file for the class.

All search paths are relative to the PHP include path. The empty search
path ('.') is included by default.

@param string $search_path the path to search for class-definition files.

@see SwatDBClassMap::removePath()
Adds a search path for class - definition files