rename to notifications

This commit is contained in:
PaulCombal
2019-03-01 12:49:26 +01:00
parent 480947afaf
commit d8e915d759
13 changed files with 59 additions and 59 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace Bluesquare\NotificationsBundle\Controller;
use Bluesquare\NotificationsBundle\Service\FooService;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
class MainController extends AbstractController
{
public function index(Request $request)
{
die($request->getMethod());
// ON PEUT PAS INJECTER UN SERVICE DU BUNDLE EN QUESTION DANS LES ARGS DONC ON LE récupère ainsi :
$this->get('bluesquare.notifications_bundle.foo')->foo();
die('hello');
}
}