UserManager::getPermissions()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Eziat\PermissionBundle\Manager;
6
7
use Eziat\PermissionBundle\Model\UserManagerAbstract;
8
use Eziat\PermissionBundle\Model\UserManagerInterface;
9
use Eziat\PermissionBundle\Model\UserPermissionInterface;
10
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
11
12
/**
13
 * @author Tomas Jakl <[email protected]>
14
 */
15
class UserManager extends UserManagerAbstract implements UserManagerInterface
16
{
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function getPermissions(UserPermissionInterface $user) : array
21
    {
22
        return $this->getUserPermissions($user);
23
    }
24
25
    /**
26
     * {@inheritdoc}
27
     */
28
    public function invalidatePermissions(UserPermissionInterface $user) : void
29
    {
30
    }
31
}