BaseTrait   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCollectionName() 0 3 1
A getObjectManager() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * Base Repository Class
6
 * @category    Ticaje
7
 * @package     Ticaje_Persistence
8
 * @author      Hector Luis Barrientos <[email protected]>
9
 */
10
11
namespace Ticaje\Persistence\Repository\Base;
12
13
/**
14
 * Class BaseRepository
15
 * @package Ticaje\Persistence\Repository\Base
16
 */
17
trait BaseTrait
18
{
19
    protected function getCollectionName()
20
    {
21
        return $this->collection;
22
    }
23
24
    protected function getObjectManager()
25
    {
26
        return $this->objectManager;
27
    }
28
}
29