File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ Glossary
125
125
Symfony's configuration files. See the :doc: `/components/yaml/introduction `
126
126
chapter.
127
127
128
+ Annotation
129
+ Annotations are metadata written alongside your code. They can either be explanatory and will be
130
+ ignored during execution or add functionality to the line of code directly below as a means of
131
+ configuration. For example, the annotation ``@var `` describes the type of a variable, whereas in
132
+ Symfony2 ``@Assert `` can add validation to a member variable of a class (see :doc: `/book/validation ` chapter).
128
133
129
134
.. _`service-oriented architecture` : https://wikipedia.org/wiki/Service-oriented_architecture
130
135
.. _`HTTP Wikipedia` : https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
You can’t perform that action at this time.
0 commit comments