gollumsf / core-bundle
Core bundle for all GollumSF Bundles
Installs: 184
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5
- symfony/framework-bundle: >=2.7
This package is auto-updated.
Last update: 2024-10-29 05:04:45 UTC
README
#GollumSFCoreBundle
##Event on create route
<?php namespace MyBundle\EventListener; use GollumSF\CoreBundle\Event\RouteCreatedEvent; class RouteListener { public function onGSFCoreRouteCreated(RouteCreatedEvent $event) { $route = $event->getRoute(); /* Instructions */ } }
services: my_bundle.listener.route: class: MyBundle\EventListener tags: - { name: kernel.event_listener, event: gsf_rest.route_created }
##Change routing annotation tag
parameters: gsf_core.routing_annotation_tag: 'gsf_annotation'