This commit is contained in:
PaulCombal
2019-03-01 13:12:17 +01:00
parent d8e915d759
commit 3b9c194e51
5 changed files with 28 additions and 29 deletions

View File

@@ -1,20 +0,0 @@
<?php
namespace Bluesquare\NotificationsBundle\Service;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;
class FooService
{
public function __construct(RequestStack $requestStack)
{
}
public function foo()
{
die(var_dump('azertyu'));
return 'bar';
}
}

View File

@@ -0,0 +1,20 @@
<?php
namespace Bluesquare\NotificationsBundle\Service;
use Doctrine\ORM\EntityManagerInterface;
class NotificationsService
{
protected $em;
public function __construct(EntityManagerInterface $em)
{
$this->em = $em;
}
public function notifyUsers()
{
return 'bar';
}
}