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

17 lines
290 B
PHP

<?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;
}
}