Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
59 | 2 | public function rebuildRelationMap() : bool |
|
60 | { |
||
61 | 2 | $allMetadata = $this->manager |
|
62 | 2 | ->getMetadataFactory() |
|
63 | 2 | ->getAllMetadata(); |
|
64 | |||
65 | 2 | foreach ($allMetadata as $singleEntityMetadata) { |
|
66 | // @codeCoverageIgnoreStart |
||
67 | $this->map[$singleEntityMetadata->getName()]['relations'] = self::relations($singleEntityMetadata); |
||
68 | // @codeCoverageIgnoreEnd |
||
69 | } |
||
70 | |||
71 | 2 | return true; |
|
72 | } |
||
74 |