BaseTrait::getCollectionName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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