| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 34 | $mappings = array( |
||
| 35 | realpath(__DIR__.'/Resources/config/mapping/ORM') => 'Majora\Component\OAuth\Entity', |
||
| 36 | ); |
||
| 37 | |||
| 38 | if (class_exists($ormCompilerClass)) { |
||
| 39 | $container->addCompilerPass(DoctrineOrmMappingsPass::createYamlMappingDriver($mappings, array(), 'majora_oauth_server.driver.orm')); |
||
| 40 | } |
||
| 41 | } |
||
| 42 | } |
||
| 43 |