Completed
Push — master ( 50b5b5...bdabef )
by Derek Stephen
02:35
created

ScopeRepository   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 23
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getScopeEntityByIdentifier() 0 4 1
A finalizeScopes() 0 4 1
1
<?php
2
3
namespace OAuth\Repository;
4
5
use Doctrine\ORM\EntityRepository;
6
use League\OAuth2\Server\Entities\ClientEntityInterface;
7
use League\OAuth2\Server\Entities\ScopeEntityInterface;
8
use League\OAuth2\Server\Repositories\ScopeRepositoryInterface;
9
10
class ScopeRepository extends EntityRepository implements ScopeRepositoryInterface
11
{
12
    /**
13
     * @param string $identifier
14
     * @return mixed
15
     */
16
    public function getScopeEntityByIdentifier($identifier)
17
    {
18
        // TODO: Implement getScopeEntityByIdentifier() method.
19
    }
20
21
    /**
22
     * @param array|ScopeEntityInterface[] $scopes
23
     * @param string $grantType
24
     * @param ClientEntityInterface $clientEntity
25
     * @param null|string|null $userIdentifier
26
     * @return mixed
27
     */
28
    public function finalizeScopes(array $scopes, $grantType, ClientEntityInterface $clientEntity, $userIdentifier = null)
29
    {
30
        // TODO: Implement finalizeScopes() method.
31
    }
32
}