| 1 | <?php |
||
| 14 | class Converter implements ConverterInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param \SoapFault $fault |
||
| 18 | * |
||
| 19 | * @return WebserviceException |
||
| 20 | * @throws ServerException |
||
| 21 | */ |
||
| 22 | public function convertToException($fault) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param \Exception $exception |
||
| 38 | * |
||
| 39 | * @return mixed|void |
||
| 40 | * @throws \DomainException |
||
| 41 | */ |
||
| 42 | public function convertFromException(\Exception $exception) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Return error (build statically). |
||
| 49 | * |
||
| 50 | * @return static |
||
| 51 | */ |
||
| 52 | public static function build() |
||
| 56 | } |
||
| 57 |