yii\imagine\BaseImage::setImagine PHP Method

setImagine() public static method

public static setImagine ( Imagine\Image\ImagineInterface $imagine )
$imagine Imagine\Image\ImagineInterface the `Imagine` object.
    public static function setImagine($imagine)
    {
        self::$_imagine = $imagine;
    }