46 $this->blockTargetFactory = $blockTargetFactory;
68 $targetObj = $this->blockTargetFactory->newFromLegacyUnion( $target );
70 return $targetObj->getLegacyTuple();
72 return [
null, null ];
85 $target = $this->blockTargetFactory->newFromRowRedacted( $row );
87 return $target->getLegacyTuple();
89 return [
null, null ];
101 $target = $this->blockTargetFactory->newFromLegacyUnion( $value );
103 return Status::wrap( $target->validateForCreation() );
105 return Status::newFatal(
'badipaddress' );