PHP 클래스 Webiny\Component\Annotations\Bridge\Loader

상속: use trait Webiny\Component\StdLib\FactoryLoaderTrait, use trait Webiny\Component\StdLib\StdLibTrait
파일 보기 프로젝트 열기: Webiny/Framework 1 사용 예제들

공개 메소드들

메소드 설명
getInstance ( ) : Webiny\Component\Annotations\Bridge\AnnotationsInterface Create an instance of a annotations driver.
getLibrary ( ) : string Get the name of bridge library which will be used as the driver.
setLibrary ( string $pathToClass ) Change the default library used for the driver.

메소드 상세

getInstance() 공개 정적인 메소드

Create an instance of a annotations driver.
public static getInstance ( ) : Webiny\Component\Annotations\Bridge\AnnotationsInterface
리턴 Webiny\Component\Annotations\Bridge\AnnotationsInterface

getLibrary() 공개 정적인 메소드

Get the name of bridge library which will be used as the driver.
public static getLibrary ( ) : string
리턴 string

setLibrary() 공개 정적인 메소드

Change the default library used for the driver.
public static setLibrary ( string $pathToClass )
$pathToClass string Path to the new bridge class. The class must implement \Webiny\Component\Annotations\Bridge\AnnotationsInterface.