Completed
Push — in_memory ( c3a551 )
by Jamal
09:35
created

AccountLoader::retrieveOnApplicationByUsername()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 0
cts 3
cp 0
cc 1
eloc 1
nc 1
nop 2
crap 2
1
<?php
2
3
namespace Majora\Component\OAuth\Loader\InMemory;
4
5
use Majora\Component\OAuth\Loader\AccountLoaderInterface;
6
use Majora\Component\OAuth\Model\ApplicationInterface;
7
use Majora\Framework\Loader\Bridge\InMemory\InMemoryLoaderTrait;
8
9
/**
10
 * ORM Account loading implementation.
11
 */
12
class AccountLoader implements AccountLoaderInterface
13
{
14
    use InMemoryLoaderTrait;
15
16
    /**
17
     * {@inheritdoc}
18
     */
19
    public function retrieveOnApplicationByUsername(ApplicationInterface $application, $username)
20
    {
21
22
    }
23
}
24