ObjectManagerAwareInterface::getObjectManager()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
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