|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ReminderFactory extends AbstractFactory implements ReminderFactoryInterface |
|
|
class ReminderFactory extends AbstractFactory implements ReminderFactoryInterface |
|
|
{ |
|
|
{ |
|
|
public function create(string $crudAction = null, string $crudControllerFqcn = null, int $entityId = null): ReminderInterface |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
public function create( |
|
|
|
|
|
string $crudAction = null, |
|
|
|
|
|
string $crudControllerFqcn = null, |
|
|
|
|
|
int $entityId = null |
|
|
|
|
|
): ReminderInterface { |
|
|
$reminder = new Reminder(); |
|
|
$reminder = new Reminder(); |
|
|
|
|
|
|
|
|
$reminder->setCrudAction($crudAction); |
|
|
$reminder->setCrudAction($crudAction); |