PHP Класс Bitpay\Autoloader

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

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

Метод Описание
autoload ( string $class ) : boolean Give a class name and it will require the file.
register ( boolean $prepend = true ) Register the autoloader, by default this will put the BitPay autoloader first on the stack, to append the autoloader, pass false as an argument.
unregister ( ) Unregister this autoloader

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

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

Give a class name and it will require the file.
public static autoload ( string $class ) : boolean
$class string
Результат boolean

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

Some applications will throw exceptions if the class isn't found and some are not compatible with PSR standards.
public static register ( boolean $prepend = true )
$prepend boolean

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

Unregister this autoloader
public static unregister ( )