Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

TaxRateFactory.php 423B

il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
12345678910111213141516171819
  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. }