ObjectManagerAwareInterface
last analyzed

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 14
ccs 0
cts 0
cp 0
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
setObjectManager() 0 1 ?
getObjectManager() 0 1 ?
1
<?php
2
3
declare(strict_types=1);
4
5
namespace DoctrineModule\Persistence;
6
7
use Doctrine\Persistence\ObjectManager;
8
use function interface_exists;
9
10
// phpcs:disable SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming
11
interface ObjectManagerAwareInterface
12
{
13
// phpcs:enable SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming
14
15
    /**
16
     * Set the object manager
17
     */
18
    public function setObjectManager(ObjectManager $objectManager) : void;
19
20
    /**
21
     * Get the object manager
22
     */
23
    public function getObjectManager() : ObjectManager;
24
}
25
26
interface_exists(ObjectManager::class);
27