You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
423B

  1. <?php
  2. namespace Lc\CaracoleBundle\Factory\Config;
  3. use Lc\CaracoleBundle\Container\Config\TaxRateContainer;
  4. use Lc\CaracoleBundle\Model\Config\TaxRateInterface;
  5. use Lc\SovBundle\Factory\AbstractFactory;
  6. class TaxRateFactory extends AbstractFactory
  7. {
  8. public function create(): TaxRateInterface
  9. {
  10. $class = TaxRateContainer::getEntityFqcn();
  11. $taxRate = new $class;
  12. return $taxRate;
  13. }
  14. }