| 1 | <?php |
||
| 21 | class PriceFactory extends \hiqdev\php\billing\price\PriceFactory |
||
| 22 | { |
||
| 23 | protected $creators = [ |
||
| 24 | SinglePrice::class => 'createSinglePrice', |
||
| 25 | EnumPrice::class => 'createEnumPrice', |
||
| 26 | TemplatePrice::class => 'createTemplatePrice', |
||
| 27 | ]; |
||
| 28 | |||
| 29 | public function __construct(array $types = [], $defaultClass = null) |
||
| 35 | |||
| 36 | public function createTemplatePrice(TemplatePriceDto $dto): TemplatePrice |
||
| 40 | } |
||
| 41 |