PHP 클래스 Ergo\ClassLoader

파일 보기 프로젝트 열기: 99designs/ergo 1 사용 예제들

공개 메소드들

메소드 설명
export ( ) Exports the classloader path into the PHP system include path
includePaths ( $path ) Prepends one or more items to the include path of the class loader and the php include path.
loadClass ( $className ) SPL autoload function, loads a class file based on the class name.
register ( $paths = [] ) Registers this class as an SPL class loader.
unregister ( ) Unregisters this class as an SPL class loader, does not attempt to unregister include_path entries.

보호된 메소드들

메소드 설명
classFile ( $className ) : string Returns the class file for a particular class name

메소드 상세

classFile() 보호된 메소드

Returns the class file for a particular class name
protected classFile ( $className ) : string
리턴 string

export() 공개 메소드

Exports the classloader path into the PHP system include path
public export ( )

includePaths() 공개 메소드

Prepends one or more items to the include path of the class loader and the php include path.
public includePaths ( $path )

loadClass() 공개 메소드

SPL autoload function, loads a class file based on the class name.
public loadClass ( $className )

register() 공개 메소드

Registers this class as an SPL class loader.
public register ( $paths = [] )

unregister() 공개 메소드

Unregisters this class as an SPL class loader, does not attempt to unregister include_path entries.
public unregister ( )