src/Type/Text/TextAssurance.php
public static function fromStringifable(Stringifable $object): self
    {
        if ($object instanceof Text) {
            return self::fromText($object);
        }

        $text = Text::make($object->stringify());

        return new static($text);
    }
public static function fromStringifable(Stringifable $object): self
    {
        if ($object instanceof Text) {
            return self::fromText($object);
        }

        $text = Text::make($object->stringify());

        return new static($text);
    }
public static function fromStringifable ( Stringifable $ object ) : self { if ( $ object instanceof Text ) { return self :: fromText ( $ object ) ; } $ text = Text :: make ( $ object -> stringify ( ) ) ; return new static ( $ text ) ; }
Crea una nueva instancia a partir de un objeto Stringifable

@param \PlanB\Type\Stringifable $object

@return \PlanB\Type\Text\TextAssurance
Crea una nueva instancia a partir de un objeto Stringifable