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.

SiteFactory.php 405B

3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
12345678910111213141516171819
  1. <?php
  2. namespace Lc\SovBundle\Factory\Site;
  3. use App\Entity\Site\Site;
  4. use Lc\SovBundle\Factory\AbstractFactory;
  5. use Lc\SovBundle\Model\Site\SiteInterface;
  6. class SiteFactory extends AbstractFactory implements SiteFactoryInterface
  7. {
  8. public function create(string $devAlias = null): SiteInterface
  9. {
  10. $site = new Site();
  11. $site->setDevAlias($devAlias);
  12. return $site;
  13. }
  14. }