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

dev-master 2018-09-28 08:36 UTC

This package is auto-updated.

Last update: 2024-10-29 05:04:45 UTC


README

#GollumSFCoreBundle

Build Status License Latest Stable Version Latest Unstable Version

##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'