PHP 클래스 Bitpay\Autoloader

파일 보기 프로젝트 열기: bitpay/php-client 1 사용 예제들

공개 메소드들

메소드 설명
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 ( )