Method | Description | |
---|---|---|
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 | ||
return | Webiny\Component\Annotations\Bridge\AnnotationsInterface |
public static getLibrary ( ) : string | ||
return | string |
public static setLibrary ( string $pathToClass ) | ||
$pathToClass | string | Path to the new bridge class. The class must implement \Webiny\Component\Annotations\Bridge\AnnotationsInterface. |