public static function load($className)
    {
        $className = str_replace(__NAMESPACE__, '', $className);
        $className = str_replace("\\", DIRECTORY_SEPARATOR, $className);

        if (file_exists(self::$dirRoot . $className . self::EXTENSION)) {
            require_once self::$dirRoot . $className . self::EXTENSION;
        }
    }
public static function load($className)
    {
        $className = str_replace(__NAMESPACE__, '', $className);
        $className = str_replace("\\", DIRECTORY_SEPARATOR, $className);

        if (file_exists(self::$dirRoot . $className . self::EXTENSION)) {
            require_once self::$dirRoot . $className . self::EXTENSION;
        }
    }
public static function load ( $ className ) { $ className = str_replace ( __NAMESPACE__ , '' , $ className ) ; $ className = str_replace ( "\\" , DIRECTORY_SEPARATOR , $ className ) ; if ( file_exists ( self :: $ dirRoot . $ className . self :: EXTENSION ) ) { require_once self :: $ dirRoot . $ className . self :: EXTENSION ; } }
Search for the class's file and require it.
@param string $className The name of the class.
Search for the class s file and require it .