We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents12d8531 +075a4b5 commitc2b92e1Copy full SHA for c2b92e1
best_practices/security.rst
@@ -221,6 +221,10 @@ more advanced use-case, you can always do the same security check in PHP:
221
222
..code-block::php
223
224
+ use Symfony\Component\Security\Core\Exception\AccessDeniedException;
225
+
226
+ // ...
227
228
/**
229
* @Route("/{id}/edit", name="admin_post_edit")
230
*/
@@ -234,7 +238,7 @@ more advanced use-case, you can always do the same security check in PHP:
234
238
}
235
239
236
240
if (!$post->isAuthor($this->getUser())) {
237
- throw$this->createAccessDeniedException();
241
+ thrownew AccessDeniedException();
242
243
244
// ...
@@ -323,6 +327,10 @@ via the even easier shortcut in a controller:
323
327
324
328
325
329
330
331
332
333
326
334
335
336
book/from_flat_php_to_symfony2.rst
@@ -754,7 +754,7 @@ Learn more from the Cookbook
754
*:doc:`/cookbook/controller/service`
755
756
.. _`Doctrine`:http://www.doctrine-project.org
757
-.. _`download Composer`:http://getcomposer.org/download/
+.. _`download Composer`:https://getcomposer.org/download/
758
.. _`Routing`:https://github.com/symfony/Routing
759
.. _`Templating`:https://github.com/symfony/Templating
760
.. _`KnpBundles.com`:http://knpbundles.com/
book/installation.rst
@@ -391,7 +391,7 @@ a wide variety of articles about solving specific problems with Symfony.
391
at this cookbook article: ":doc:`/cookbook/bundles/remove`"
392
393
.. _`explained in this post`:http://fabien.potencier.org/article/73/signing-project-releases
394
-.. _`Composer`:http://getcomposer.org/
+.. _`Composer`:https://getcomposer.org/
395
.. _`Composer download page`:https://getcomposer.org/download/
396
.. _`Apache`:http://httpd.apache.org/docs/current/mod/core.html#documentroot
397
.. _`Nginx`:http://wiki.nginx.org/Symfony
components/class_loader/cache_class_loader.rst
@@ -64,5 +64,5 @@ it is straightforward::
64
$loader->unregister();
65
66
.. _APC:http://php.net/manual/en/book.apc.php
67
-.. _autoloader:http://getcomposer.org/doc/01-basic-usage.md#autoloading
+.. _autoloader:https://getcomposer.org/doc/01-basic-usage.md#autoloading
68
.. _XCache:http://xcache.lighttpd.net
components/class_loader/class_map_generator.rst
@@ -122,4 +122,4 @@ the same as in the example above)::
122
123
.. _`PSR-0`:http://www.php-fig.org/psr/psr-0
124
.. _`PSR-4`:http://www.php-fig.org/psr/psr-4
125
-.. _`Composer`:http://getcomposer.org
+.. _`Composer`:https://getcomposer.org
components/using_components.rst
@@ -77,5 +77,5 @@ documentation to find out more about how to use it.
77
78
And have fun!
79
80
-.. _Composer:http://getcomposer.org
81
-.. _Install composer:http://getcomposer.org/download/
+.. _Composer:https://getcomposer.org
+.. _Install composer:https://getcomposer.org/download/
contributing/code/tests.rst
@@ -95,4 +95,4 @@ browser.
95
dependencies installed.
96
97
.. _install PHPUnit:https://phpunit.de/manual/current/en/installation.html
98
cookbook/bundles/installation.rst
@@ -111,7 +111,7 @@ Other Setup
111
At this point, check the ``README`` file of your brand new bundle to see
112
what to do next. Have fun!
113
114
-.. _their documentation:http://getcomposer.org/doc/00-intro.md
+.. _their documentation:https://getcomposer.org/doc/00-intro.md
115
.. _Packagist.org:https://packagist.org
116
.. _FOSUserBundle:https://github.com/FriendsOfSymfony/FOSUserBundle
117
.. _KnpBundles.com:http://knpbundles.com/
cookbook/composer.rst
@@ -24,7 +24,7 @@ To install Composer on Linux or Mac OS X, execute the following two commands:
24
..note::
25
26
If you don't have ``curl`` installed, you can also just download the
27
- ``installer`` file manually athttp://getcomposer.org/installer and
+ ``installer`` file manually athttps://getcomposer.org/installer and
28
then run:
29
30
..code-block::bash
cookbook/symfony1.rst
@@ -364,6 +364,6 @@ In reality, the Symfony2 configuration is much more powerful and is used
364
primarily to configure objects that you can use. For more information, see
365
the chapter titled ":doc:`/book/service_container`".
366
367
368
.. _`Symfony Standard Edition`:https://github.com/symfony/symfony-standard
369
-.. _`the Composer documentation`:http://getcomposer.org/doc/04-schema.md#autoload
+.. _`the Composer documentation`:https://getcomposer.org/doc/04-schema.md#autoload