Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function __construct( |
||
31 | EntityId $fromId, |
||
32 | PropertyId $propertyId, |
||
33 | array $toIds, |
||
34 | $maxEntityVisits, |
||
35 | $message = null, |
||
36 | Exception $previous = null |
||
37 | ) { |
||
38 | $this->maxEntityVisits = $maxEntityVisits; |
||
39 | $message = $message ?: 'Referenced entity id lookup failed: Maximum number of entity visits (' . |
||
40 | $maxEntityVisits . ') exhausted.'; |
||
41 | |||
42 | parent::__construct( $fromId, $propertyId, $toIds, $message, $previous ); |
||
43 | } |
||
44 | |||
53 |