<?php

namespace QUI\ERP\Shipping\Types;

if (!class_exists(Factory::class, false)) {
    class Factory
    {
        public static function getInstance(): self
        {
            return new self();
        }

        /**
         * @param array<string, mixed> $data
         */
        public function createChild(array $data = []): ShippingEntry
        {
            return new ShippingEntry();
        }
    }
}
