| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class AddressChangeContextFactory { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Use this constant for MappingDriverChain::addDriver |
||
| 18 | */ |
||
| 19 | public const ENTITY_NAMESPACE = 'WMDE\Fundraising\AddressChangeContext\Domain\Model'; |
||
| 20 | |||
| 21 | private const DOCTRINE_CLASS_MAPPING_DIRECTORY = __DIR__ . '/../config/DoctrineClassMapping'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return string[] |
||
| 25 | */ |
||
| 26 | public function getDoctrineMappingPaths(): array { |
||
| 27 | return [ self::DOCTRINE_CLASS_MAPPING_DIRECTORY ]; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return array<EventSubscriber> |
||
| 32 | */ |
||
| 33 | public function newEventSubscribers(): array { |
||
| 37 | } |
||
| 38 | |||
| 39 | public function registerCustomTypes( Connection $connection ): void { |
||
| 41 | } |
||
| 42 | |||
| 43 | public function registerDoctrinePaymentIntervalType( Connection $connection ): void { |
||
| 53 |