wucdbm / menu-builder-client-bundle
A client for the Menu Builder Bundle
Installs: 507
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ~5.5|~7.0
- symfony/symfony: ~3.0
- wucdbm/menu-builder-bundle: ~3.0
- wucdbm/wucdbm-bundle: ~3.1
README
A client for the Menu Builder Bundle
- UX: We know the route chosen, so we know the controller and the action. Then, we could inspect the action for parameter types. This poses the threat of "Object not found" Exceptions when an entity does not exist, so we have to also read the docblock with the new symfony reader and determine the type. If it is an entity, read entities and return a list. This could potentially lead to shittons of entities fetched, so when fetching the entities, if the repository provided implements SomeRandomMenuBuilderInterface which has one method: getMenuBuilderQueryBuilder, return that, otherwise $repository->createQueryBuilder(); Also, use __toString()