/** * {@inheritDoc} * * @param PropertyMetadata $property * @return bool */ public function shouldSkipProperty(PropertyMetadata $property) { if (null !== ($version = $property->getSinceVersion()) && version_compare($this->version, $version, '<')) { return true; } if (null !== ($version = $property->getUntilVersion()) && version_compare($this->version, $version, '>')) { return true; } return false; }