Completed
Pull Request — develop (#11)
by Quentin
07:46 queued 04:57
created

ApplicationCollection   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 10
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getEntityClass() 0 4 1
1
<?php
2
3
namespace Majora\Component\OAuth\Collection;
4
5
use Majora\Component\OAuth\Entity\Application;
6
use Majora\Framework\Model\EntityCollection;
7
8
/**
9
 * Application model collection class.
10
 */
11
class ApplicationCollection extends EntityCollection
12
{
13
    /**
14
     * @see Majora\Framework\Model\EntityCollection::getEntityClass()
15
     */
16
    protected function getEntityClass()
17
    {
18
        return Application::class;
19
    }
20
}