kernel/private/classes/ezautoloadgenerator.php
protected function classExistsInArray( $class, $checkMode, $file, $inProgressAutoloadArray = null, $generatingMode = null )
    {
        if ( ( $checkMode === $generatingMode ) and $inProgressAutoloadArray !== null )
        {
            $classCollision = array_key_exists( $class, $inProgressAutoloadArray );
        }
        else
        {
            $classCollision = array_key_exists( $class, $this->existingAutoloadArrays[$checkMode] );
        }

        if ( $classCollision )
        {
            // If there is a class collisions we want to give feedback to the user.
            $this->logIssue( $class, $checkMode, $file, $inProgressAutoloadArray, $generatingMode );
            return true;
        }
        return false;
    }
protected function classExistsInArray( $class, $checkMode, $file, $inProgressAutoloadArray = null, $generatingMode = null )
    {
        if ( ( $checkMode === $generatingMode ) and $inProgressAutoloadArray !== null )
        {
            $classCollision = array_key_exists( $class, $inProgressAutoloadArray );
        }
        else
        {
            $classCollision = array_key_exists( $class, $this->existingAutoloadArrays[$checkMode] );
        }

        if ( $classCollision )
        {
            // If there is a class collisions we want to give feedback to the user.
            $this->logIssue( $class, $checkMode, $file, $inProgressAutoloadArray, $generatingMode );
            return true;
        }
        return false;
    }
protected function classExistsInArray ( $ class , $ checkMode , $ file , $ inProgressAutoloadArray = null , $ generatingMode = null ) { if ( ( $ checkMode === $ generatingMode ) and $ inProgressAutoloadArray !== null ) { $ classCollision = array_key_exists ( $ class , $ inProgressAutoloadArray ) ; } else { $ classCollision = array_key_exists ( $ class , $ this -> existingAutoloadArrays [ $ checkMode ] ) ; } if ( $ classCollision ) { // If there is a class collisions we want to give feedback to the user. $ this -> logIssue ( $ class , $ checkMode , $ file , $ inProgressAutoloadArray , $ generatingMode ) ; return true ; } return false ; }
Internal method used to check if an class exist autoload arrays.

@param string $class The name of the class being checked.
@param int $checkMode The mode whose autoload arrays will be checked.
@param string $file Filename containing the class.
@param array $inProgressAutoloadArray The autoload array generated so far.
@param int $generatingMode The mode we are generating for autoloads for.
@return boolean
Internal method used to check if an class exist autoload arrays .