688fdd49ee
add webdav client change pdf viewer
18 lines
339 B
PHP
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;
|
|
}
|
|
}
|