ModelBundle/Form/DataTransformer/EmbedStatusToStatusTransformer.php
public function reverseTransform($value)
    {
        if ($value === null) {
            return null;
        }

        $embedStatusClass = $this->embedStatusClass;

        return $embedStatusClass::createFromStatus($value);
    }
public function reverseTransform($value)
    {
        if ($value === null) {
            return null;
        }

        $embedStatusClass = $this->embedStatusClass;

        return $embedStatusClass::createFromStatus($value);
    }
@param StatusInterface $value

@return EmbedStatusInterface

@throws TransformationFailedException When the transformation fails.