src/Evispa/ObjectMigration/Action/ActionSerializer.php
public static function deserializeAction($data) {
        if (self::ACTION_CLONE === $data[0]) {
            return new CloneAction(new \ReflectionMethod($data[1], $data[2]));
        } elseif (self::ACTION_CREATE === $data[0]) {
            return new CreateAction(new \ReflectionMethod($data[1], $data[2]));
        }
        throw new \Exception('Can not deserialize "'.  $data[1] . '"" action.');
    }
public static function deserializeAction($data) {
        if (self::ACTION_CLONE === $data[0]) {
            return new CloneAction(new \ReflectionMethod($data[1], $data[2]));
        } elseif (self::ACTION_CREATE === $data[0]) {
            return new CreateAction(new \ReflectionMethod($data[1], $data[2]));
        }
        throw new \Exception('Can not deserialize "'.  $data[1] . '"" action.');
    }
@param array $data

@return MigrationActionInterface