1 | <?php |
||
22 | class ContractViolation extends \LogicException |
||
23 | { |
||
24 | |||
25 | /** |
||
26 | * Violation constructor |
||
27 | * |
||
28 | * @param MethodInvocation $invocation Current method invocation |
||
29 | * @param string $contract Violated contract code |
||
30 | * @param Throwable $previous |
||
31 | */ |
||
32 | 28 | public function __construct(MethodInvocation $invocation, $contract, Throwable $previous = null) |
|
45 | } |
||
46 |