| Conditions | 4 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 55 | public function isSuitableEdge(EdgeInterface $edge): bool |
||
| 56 | { |
||
| 57 | if($this->edgeTypesOnly !== null && !in_array($edge->getType(), $this->edgeTypesOnly)) { |
||
| 58 | return false; |
||
| 59 | } |
||
| 60 | |||
| 61 | if(in_array($edge->getType(), $this->edgeTypesExclude)) { |
||
| 62 | return false; |
||
| 63 | } |
||
| 64 | |||
| 65 | return true; |
||
| 66 | } |
||
| 68 |