source: trunk/client/inc/hpdf5/spipu/html2pdf/src/Exception/ImageException.php@ 430

Last change on this file since 430 was 347, checked in by roby, 4 years ago

Aggiornamento per compatibilità con php7.4

File size: 895 bytes
Line 
1<?php
2/**
3 * Html2Pdf Library - Exception class
4 *
5 * HTML => PDF converter
6 * distributed under the OSL-3.0 License
7 *
8 * @package Html2pdf
9 * @author Laurent MINGUET <webmaster@html2pdf.fr>
10 * @copyright 2017 Laurent MINGUET
11 */
12
13namespace Spipu\Html2Pdf\Exception;
14
15/**
16 * Image Exception
17 */
18class ImageException extends Html2PdfException
19{
20 /**
21 * ERROR CODE 2
22 * @var int
23 */
24 const ERROR_CODE = 2;
25
26 /**
27 * asked unknown image
28 * @var string
29 */
30 protected $image;
31
32 /**
33 * set the image in error
34 *
35 * @param string $value the value
36 *
37 * @return ImageException
38 */
39 public function setImage($value)
40 {
41 $this->image = $value;
42
43 return $this;
44 }
45
46 /**
47 * get the image in error
48 *
49 * @return string
50 */
51 public function getImage()
52 {
53 return $this->image;
54 }
55}
Note: See TracBrowser for help on using the repository browser.