public function load($resource, $type = null)
    {
        $routes = new RouteCollection();

        $pattern = '/_pygments_bundle/style.css';
        $defaults = array(
            '_controller' => 'CypressPygmentsElephantBundle:Main:css',
        );

        $route = new Route($pattern, $defaults);
        $routes->add('pygments_bundle_style', $route);

        return $routes;
    }
public function load($resource, $type = null)
    {
        $routes = new RouteCollection();

        $pattern = '/_pygments_bundle/style.css';
        $defaults = array(
            '_controller' => 'CypressPygmentsElephantBundle:Main:css',
        );

        $route = new Route($pattern, $defaults);
        $routes->add('pygments_bundle_style', $route);

        return $routes;
    }
public function load ( $ resource , $ type = null ) { $ routes = new RouteCollection ( ) ; $ pattern = '/_pygments_bundle/style.css' ; $ defaults = array ( '_controller' => 'CypressPygmentsElephantBundle:Main:css' , ) ; $ route = new Route ( $ pattern , $ defaults ) ; $ routes -> add ( 'pygments_bundle_style' , $ route ) ; return $ routes ; }
Loads a resource

@param mixed  $resource The resource
@param string $type     The resource type

@return \Symfony\Component\Routing\RouteCollection
Loads a resource