suivi/src/Factory/BillCategoryFactory.php
Simon Vieille 688fdd49ee
add bill categories
add webdav client

change pdf viewer
2023-04-09 17:56:15 +02:00

18 lines
339 B
PHP

<?php
namespace App\Factory;
use App\Core\Factory\FactoryInterface;
use App\Entity\BillCategory as Entity;
class BillCategoryFactory implements FactoryInterface
{
public function create(?string $label = null): Entity
{
$entity = new Entity();
$entity->setLabel((string) $label);
return $entity;
}
}