메소드 | 설명 | |
---|---|---|
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. |
public static getInstance ( ) : Webiny\Component\Annotations\Bridge\AnnotationsInterface | ||
리턴 | Webiny\Component\Annotations\Bridge\AnnotationsInterface |
public static getLibrary ( ) : string | ||
리턴 | string |
public static setLibrary ( string $pathToClass ) | ||
$pathToClass | string | Path to the new bridge class. The class must implement \Webiny\Component\Annotations\Bridge\AnnotationsInterface. |