32 $this->blockTargetFactory = $blockTargetFactory;
54 $targetObj = $this->blockTargetFactory->newFromLegacyUnion( $target );
56 return $targetObj->getLegacyTuple();
58 return [
null, null ];
71 $target = $this->blockTargetFactory->newFromRowRedacted( $row );
73 return $target->getLegacyTuple();
75 return [
null, null ];
87 $target = $this->blockTargetFactory->newFromLegacyUnion( $value );
89 return Status::wrap( $target->validateForCreation() );
91 return Status::newFatal(
'badipaddress' );