Browse Source

Refactoring services

develop
Guillaume 3 years ago
parent
commit
8e6aece552
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      Factory/Reminder/ReminderFactory.php

+ 5
- 2
Factory/Reminder/ReminderFactory.php View File



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);

Loading…
Cancel
Save