Expand tests.

This commit is contained in:
James Cole
2017-03-19 17:54:21 +01:00
parent 1adb0f2f0e
commit 9515ce6807
25 changed files with 1180 additions and 551 deletions

View File

@@ -79,4 +79,12 @@ interface UserRepositoryInterface
* @return array
*/
public function getUserData(User $user): array;
/**
* @param User $user
* @param string $role
*
* @return bool
*/
public function hasRole(User $user, string $role): bool;
}