mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Covered Request Management Services with Unit Tests
This commit is contained in:
@@ -17,4 +17,4 @@ A **requested action** inhieres from **requested user** and contains a **request
|
||||
|
||||
## UML Class Diagram
|
||||
The following diagram shows the relations between the different request layers and services:
|
||||

|
||||

|
@@ -6,6 +6,7 @@ use App\Entity\UserInterface;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
use App\Entity\Source\AbstractSource;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -25,10 +26,10 @@ final class UserSourceDirectorService implements UserSourceDirectorServiceInterf
|
||||
private $security;
|
||||
|
||||
/**
|
||||
* @param EntityManager $entityManager
|
||||
* @param EntityManager $entityManagerInterface
|
||||
* @param Security $security
|
||||
*/
|
||||
public function __construct(EntityManager $entityManager, Security $security)
|
||||
public function __construct(EntityManagerInterface $entityManager, Security $security)
|
||||
{
|
||||
$this->entityManager = $entityManager;
|
||||
$this->security = $security;
|
||||
|
Reference in New Issue
Block a user