BxDolImageResize::__construct PHP Method

__construct() public method

< Intervention Image Manager error string
public __construct ( )
    function __construct()
    {
        if (isset($GLOBALS['bxDolClasses'][get_class($this)])) {
            trigger_error('Multiple instances are not allowed for the class: ' . get_class($this), E_USER_ERROR);
        }
        $this->_isUseGD = getParam('enable_gd') == 'on' && extension_loaded('gd') ? true : false;
        $this->_oManager = new Intervention\Image\ImageManager(array('driver' => $this->_isUseGD ? 'gd' : 'imagick'));
    }