Closed Sorien closed 8 years ago
UrlGenerator::generate
path
and url
twig methodsjust install symfony plugin, same syntax :)
@Haehnchen I forgot about this. But we would still need to add routes from silex syntax to your index/collection/whatever it's called, right?
yaml and xml files are supported. you just need to implement the "binds".
$app->get('/', function () {
return 'welcome to the homepage';
})
->bind('homepage');
If you then attach the php types to url_generator
you are done. i can add an extension point for routes from external sources just ping me if you need to. i need them too by time.
$app['url_generator']->generate('homepage')
I'll let @Sorien hit you up when he's ready :)
Do you also provide completion for route parameters?
yes, all in :)
not planed