| Conditions | 5 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function skipProperty(PropertyMetadataInterface $property, ContextInterface $context) |
||
| 39 | { |
||
| 40 | if ($property->hasSinceVersion() && version_compare($property->getSinceVersion(), $this->version, '>')) { |
||
| 41 | return true; |
||
| 42 | } |
||
| 43 | |||
| 44 | if ($property->hasUntilVersion() && version_compare($property->getUntilVersion(), $this->version, '<')) { |
||
| 45 | return true; |
||
| 46 | } |
||
| 47 | |||
| 48 | return false; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |