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

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

공개 메소드들

메소드 설명
getImageLoader ( ConfigObject $config ) : Webiny\Component\Image\ImageLoaderInterface Returns an instance of ImageLoaderInterface based on current bridge.
setLibrary ( string $pathToClass ) Change the default library used for the driver.

비공개 메소드들

메소드 설명
getLibrary ( ) : string Get the name of bridge library which will be used as the driver.

메소드 상세

getImageLoader() 공개 정적인 메소드

Returns an instance of ImageLoaderInterface based on current bridge.
public static getImageLoader ( ConfigObject $config ) : Webiny\Component\Image\ImageLoaderInterface
$config Webiny\Component\Config\ConfigObject
리턴 Webiny\Component\Image\ImageLoaderInterface

setLibrary() 공개 정적인 메소드

Change the default library used for the driver.
public static setLibrary ( string $pathToClass )
$pathToClass string Path to the new driver class. Must be an instance of \Webiny\Component\Image\Bridge\ImageLoaderInterface