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.

UnitFactory.php 402B

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