瀏覽代碼

Reminder

develop
Guillaume 3 年之前
父節點
當前提交
de5fee0167
共有 2 個檔案被更改,包括 7 行新增7 行删除
  1. +1
    -0
      config/services.yaml
  2. +6
    -7
      src/Dependency/Reminder/ReminderDependency.php

+ 1
- 0
config/services.yaml 查看文件

@@ -9,6 +9,7 @@ parameters:
app.path_uploads: '/uploads'
app.reminder.route_render_modal: 'sov_admin_reminder_render_modal'
app.reminder.route_new: 'sov_admin_reminder_new'
app.reminder.route_edit: 'sov_admin_reminder_edit'

services:
# default configuration for services in *this* file

+ 6
- 7
src/Dependency/Reminder/ReminderDependency.php 查看文件

@@ -2,19 +2,18 @@

namespace App\Dependency\Reminder;

use Lc\SovBundle\Repository\Reminder\ReminderStore;
use Lc\SovBundle\Repository\Reminder\ReminderStoreInterface;
use Lc\CaracoleBundle\Factory\Reminder\ReminderFactory;
use Lc\CaracoleBundle\Repository\Reminder\ReminderRepositoryQuery;
use Lc\SovBundle\Factory\Reminder\ReminderFactoryInterface;
use Lc\SovBundle\Repository\Reminder\ReminderRepositoryQueryInterface;

class ReminderDependency
{
public function getAliases()
{
return [
//ReminderRepositoryInterface::class => ReminderRepository::class,
//ReminderRepositoryQueryInterface::class => ReminderRepositoryQuery::class,
//ReminderStoreInterface::class => ReminderStore::class,
//ReminderFactoryInterface::class => ReminderFactory::class,
ReminderRepositoryQueryInterface::class => ReminderRepositoryQuery::class,
ReminderFactoryInterface::class => ReminderFactory::class,
];
}

}

Loading…
取消
儲存