N98\Magento\Command\Developer\Module\Rewrite\ClassExistsChecker::existsExtendsSafe PHP Method

existsExtendsSafe() public method

Check for class-existence while handling conditional definition of classes that extend from non-existent classes as it can happen with Magento Varien_Autoload that is using include to execute files for class definitions.
public existsExtendsSafe ( ) : boolean
return boolean
    public function existsExtendsSafe()
    {
        $context = $this->startContext();
        try {
            $exists = class_exists($this->className);
        } catch (Exception $ex) {
            return $this->exceptionContext($context, $ex);
        }
        $this->endContext($context);
        return $exists;
    }