Total Complexity | 4 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class VCardException extends \Exception |
||
16 | { |
||
17 | public static function elementAlreadyExists($element) |
||
18 | { |
||
19 | return new self('You can only set "' . $element . '" once.'); |
||
20 | } |
||
21 | |||
22 | public static function emptyURL() |
||
23 | { |
||
24 | return new self('Nothing returned from URL.'); |
||
25 | } |
||
26 | |||
27 | public static function invalidImage() |
||
28 | { |
||
29 | return new self('Returned data is not an image.'); |
||
30 | } |
||
31 | |||
32 | public static function outputDirectoryNotExists() |
||
35 | } |
||
36 | } |
||
37 |