Library/Compiler.php
public function isClass($className)
    {
        foreach ($this->definitions as $key => $value) {
            if (!strcasecmp($key, $className) && 'class' === $value->getType()) {
                return true;
            }
        }

        /*
         * Try to autoload the class from an external dependency
         */
        if (\count($this->externalDependencies)) {
            foreach ($this->externalDependencies as $namespace => $location) {
                if (preg_match('#^'.$namespace.'\\\\#i', $className)) {
                    return $this->loadExternalClass($className, $location);
                }
            }
        }

        return false;
    }
public function isClass($className)
    {
        foreach ($this->definitions as $key => $value) {
            if (!strcasecmp($key, $className) && 'class' === $value->getType()) {
                return true;
            }
        }

        /*
         * Try to autoload the class from an external dependency
         */
        if (\count($this->externalDependencies)) {
            foreach ($this->externalDependencies as $namespace => $location) {
                if (preg_match('#^'.$namespace.'\\\\#i', $className)) {
                    return $this->loadExternalClass($className, $location);
                }
            }
        }

        return false;
    }
public function isClass ( $ className ) { foreach ( $ this -> definitions as $ key => $ value ) { if ( ! strcasecmp ( $ key , $ className ) && 'class' === $ value -> getType ( ) ) { return true ; } } /*
         * Try to autoload the class from an external dependency
         */ if ( \ count ( $ this -> externalDependencies ) ) { foreach ( $ this -> externalDependencies as $ namespace => $ location ) { if ( preg_match ( '#^' . $ namespace . '\\\\#i' , $ className ) ) { return $ this -> loadExternalClass ( $ className , $ location ) ; } } } return false ; }
Allows to check if a class is part of the compiled extension.

@param string $className

@return bool
Allows to check if a class is part of the compiled extension .