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

ScopeRepository::getScopeEntityByIdentifier()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 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
}