alexander-a2 / symfony-extendable-entity-bundle
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.3
- alexander-a2/symfony-admin-bundle: *
This package is auto-updated.
Last update: 2025-04-18 08:40:53 UTC
README
extendable_entity:
resource: '@ExtendableEntityBundle/Resources/config/routing.yml'
prefix: /admin/entity/extendable/
name_prefix: admin_entity_extendable_
How it works
ClassMetadataFactory
(Defined as doctrine.orm setting, being prepended to global config in ExtendableEntityExtension)
- Set Property Reflection to
ExtendedPropertyRuntimeReflectionService
ExtendedPropertyAccessor
Decorated PropertyAccessor
(Decorated in services with property_accessor
)
- Handles
setValue()
/getValue()
ExtendedPropertyRuntimeReflectionService
- Returns
ExtendedPropertyReflection
for extended field attributes
ExtendedPropertyReflection
- Handles
getValue()
/setValue()
for extended fields
EntityMetadataLoadListener
loaded for read docrtine.metadata
injected as event_listener in services.yml
- Returns
ExtendableEntityReflectionClass
for extended entities instead ofReflectionClass