Skip to content

Commit

Permalink
Revert swapping aliases and factories - aliases are not delegated, th…
Browse files Browse the repository at this point in the history
…erefore it's a BC break

Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Nov 20, 2022
1 parent 2be5e34 commit 1d21cdb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ConfigProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ public function getDependencyConfig(): array
FormAbstractServiceFactory::class,
],
'aliases' => [
'FormAnnotationBuilder' => Annotation\AnnotationBuilder::class,
'FormAttributeBuilder' => Annotation\AttributeBuilder::class,
'FormElementManager' => FormElementManager::class,
Annotation\AnnotationBuilder::class => 'FormAnnotationBuilder',
Annotation\AttributeBuilder::class => 'FormAttributeBuilder',
FormElementManager::class => 'FormElementManager',
],
'factories' => [
Annotation\AnnotationBuilder::class => Annotation\BuilderAbstractFactory::class,
Annotation\AttributeBuilder::class => Annotation\BuilderAbstractFactory::class,
FormElementManager::class => FormElementManagerFactory::class,
'FormAnnotationBuilder' => Annotation\BuilderAbstractFactory::class,
'FormAttributeBuilder' => Annotation\BuilderAbstractFactory::class,
'FormElementManager' => FormElementManagerFactory::class,
],
];
}
Expand Down

0 comments on commit 1d21cdb

Please sign in to comment.