mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented getUserSourceDirector
This commit is contained in:
@@ -49,4 +49,14 @@ class RequestedUser extends AbstractRequestedRightFacade implements RequestedUse
|
||||
{
|
||||
return $this->userSourceDirector->getUser()->getSource();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \App\Domain\RequestManagement\User\RequestedUserInterface::getUserSourceDirector()
|
||||
*/
|
||||
public function getUserSourceDirector(): UserSourceDirectorInterface
|
||||
{
|
||||
return $this->userSourceDirector;
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,7 @@
|
||||
namespace App\Domain\RequestManagement\User;
|
||||
|
||||
use App\Domain\RequestManagement\Right\RequestedRightInterface;
|
||||
use App\Domain\UserManagement\UserSourceDirectorInterface;
|
||||
|
||||
/**
|
||||
* Offers a Service for managing the rights.
|
||||
@@ -11,4 +12,8 @@ use App\Domain\RequestManagement\Right\RequestedRightInterface;
|
||||
*/
|
||||
interface RequestedUserInterface extends RequestedRightInterface
|
||||
{
|
||||
/**
|
||||
* @return UserSourceDirectorInterface
|
||||
*/
|
||||
public function getUserSourceDirector(): UserSourceDirectorInterface;
|
||||
}
|
||||
|
Reference in New Issue
Block a user