PHP Класс N98\Magento\Command\Developer\Module\Rewrite\ClassExistsChecker

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $className ) ClassExistsChecker constructor.
autoloadTerminator ( $notFoundClass ) Method is called as last auto-loader (if all others have failed), so the class does not exists (is not resolve-able)
create ( string $className ) : ClassExistsChecker
existsExtendsSafe ( ) : boolean 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.

Приватные методы

Метод Описание
endContext ( $context )
exceptionContext ( $context, Exception $ex ) : boolean
startContext ( ) : stdClass

Описание методов

__construct() публичный Метод

ClassExistsChecker constructor.
public __construct ( string $className )
$className string

autoloadTerminator() публичный Метод

Method is called as last auto-loader (if all others have failed), so the class does not exists (is not resolve-able)
public autoloadTerminator ( $notFoundClass )
$notFoundClass

create() публичный статический Метод

public static create ( string $className ) : ClassExistsChecker
$className string
Результат ClassExistsChecker

existsExtendsSafe() публичный Метод

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
Результат boolean