I'm learning Symfony2 and I was wondering what the difference is between a pattern and a path in the demo that contains a "pattern"? I.e.:
acme_hello_namespace_homepage:
pattern: /hellons/{name}
defaults: { _controller: AcmeHelloNamespaceBundle:Default:index }
hello:
path: /hellons/{name}
defaults: { _controller: AcmeHelloNamespaceBundle:Hello:index }
That's the same thing, but "pattern" is now deprecated in favor of "path" as you can see here : https://github.com/symfony/symfony/pull/6738/files#diff-0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With