deblan.io-murph/core/Factory/FileInformationFactory.php

17 lines
290 B
PHP
Raw Normal View History

2021-06-16 18:41:05 +02:00
<?php
namespace App\Core\Factory;
use App\Core\Entity\FileInformation as Entity;
class FileInformationFactory implements FactoryInterface
{
public function create(string $id): Entity
{
$entity = new Entity();
$entity->setId($id);
return $entity;
}
}