You've already forked symfony-notifications
auto
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
20
NotificationsBundle/Service/NotificationsService.php
Normal file
20
NotificationsBundle/Service/NotificationsService.php
Normal 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';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user