Webiny\Component\Image\Bridge\Loader::setLibrary PHP Метод

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
    public static function setLibrary($pathToClass)
    {
        self::$library = $pathToClass;
    }