Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita9723e7

Browse files
committed
Document the Route attribute.
1 parent6745a49 commita9723e7

File tree

4 files changed

+444
-52
lines changed

4 files changed

+444
-52
lines changed

‎_build/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
lexers['markdown']=TextLexer()
112112
lexers['php']=PhpLexer(startinline=True)
113113
lexers['php-annotations']=PhpLexer(startinline=True)
114+
lexers['php-attributes']=PhpLexer(startinline=True)
114115
lexers['php-standalone']=PhpLexer(startinline=True)
115116
lexers['php-symfony']=PhpLexer(startinline=True)
116117
lexers['rst']=RstLexer()

‎best_practices.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,13 @@ important parts of your application.
223223

224224
.. _best-practice-controller-annotations:
225225

226-
Use Annotations to Configure Routing, Caching and Security
227-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
226+
UseAttributes orAnnotations to Configure Routing, Caching and Security
227+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228228

229-
Using annotations for routing, caching and security simplifies configuration.
230-
You don't need to browse several files created with different formats (YAML, XML,
231-
PHP): all the configuration is just where you need it and it only uses one format.
229+
Using attributes or annotations for routing, caching and security simplifies
230+
configuration. You don't need to browse several files created with different
231+
formats (YAML, XML, PHP): all the configuration is just where you need it and
232+
it only uses one format.
232233

233234
Don't Use Annotations to Configure the Controller Template
234235
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

‎contributing/documentation/format.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Markup Format Use It to Display
104104
``html+php`` PHP code blended with HTML
105105
``ini`` INI
106106
``php-annotations`` PHP Annotations
107+
``php-attributes`` PHP Attributes
107108
=================== ======================================
108109

109110
Adding Links

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp