public static function addClass($className, $filePath)
	{
        if (self::classExists($className)) {
			throw new ApplicationContextException('Cannot add class file [' . $filePath . '], class with same name already defined by [' . self::$classNames[$className] . ']');
        }

        self::$classNames[$className] = $filePath;
	}
public static function addClass($className, $filePath)
	{
        if (self::classExists($className)) {
			throw new ApplicationContextException('Cannot add class file [' . $filePath . '], class with same name already defined by [' . self::$classNames[$className] . ']');
        }

        self::$classNames[$className] = $filePath;
	}
public static function addClass ( $ className , $ filePath ) { if ( self :: classExists ( $ className ) ) { throw new ApplicationContextException ( 'Cannot add class file [' . $ filePath . '], class with same name already defined by [' . self :: $ classNames [ $ className ] . ']' ) ; } self :: $ classNames [ $ className ] = $ filePath ; }
Adds a class name and file path.

@param string $className
@param string $filePath

@throws ApplicationContextException

@return void
Adds a class name and file path .