public function __construct() { if (!extension_loaded('imagick')) { throw new Exception('ImageMagick does not appear to be avaliable in your PHP installation. Please try another generator'); } }