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