1 | <?php |
||
20 | class ExpectationFailedException extends \RuntimeException |
||
21 | { |
||
22 | |||
23 | /** |
||
24 | * @var mixed |
||
25 | */ |
||
26 | protected $subject; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $reason; |
||
32 | |||
33 | /** |
||
34 | * ExpectationFailedException constructor. |
||
35 | * |
||
36 | * @param mixed $subject |
||
37 | * @param string $message |
||
38 | * @param string $reason |
||
39 | * @param int $code |
||
40 | * @param Exception|null $previous |
||
41 | */ |
||
42 | public function __construct($subject, $message, $reason = "", $code = 0, \Exception $previous = null) |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getReason() |
||
57 | } |