In Symfony application, routes can defined with dynamic URL which contains parameters. Parameters are wrapped in curly brackets {param_name} and they must have a unique name.
This tutorial provides 2...
Symfony framework allows to store special messages also known as flash messages on the user's session. Flash messages are designed to be used only once. This means that flash messages...
Symfony framework allows to store special messages also known as flash messages on the user's session. It is a great way for storing user notifications temporary.
This tutorial provides 2...
Symfony framework provides methods for manipulating cookies which will be sent along with the rest of the HTTP response headers.
This tutorial provides 2 methods to set cookie to the...
In Symfony application, Cookie class is used to represent HTTP cookie. There are various ways to create object of that class.
This tutorial provides 4 methods how to create Cookie...
By default, Symfony commands uses ANSI escape codes for adding colors to their output. Most people like this feature, but some people prefer to disabling it.
This tutorial provides 3...
In Symfony application, each route is identified by the name which can be used for generating URLs. If route name is not explicitly set, name will be generated automatically.
This...
In Symfony application we can create and dispatch custom events. Events dispatching is useful when wanted to keep different application components separated from each other.
This tutorial provides 2 methods...