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

@@ -8,8 +8,11 @@ use Lc\SovBundle\Model\Reminder\ReminderInterface;

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->setCrudAction($crudAction);

Loading…
Cancel
Save