visitIp>13.54.122.0;visitIp<13.54.122.255']); } public function formatValue($value, $idSite, Formatter $formatter) { $value = Common::hex2bin($value); $value = IPUtils::binaryToStringIP($value); return $value; } public function configureSegments(SegmentsList $segmentsList, DimensionSegmentFactory $dimensionSegmentFactory) { $segment = new Segment(); $segment->setType(Segment::TYPE_METRIC); // we cannot remove this for now as it would assign dimension based on text type $segmentsList->addSegment($dimensionSegmentFactory->createSegment($segment)); } }