diff --git a/best_practices/configuration.rst b/best_practices/configuration.rst index df9779b121e..dcd8f42e9f0 100644 --- a/best_practices/configuration.rst +++ b/best_practices/configuration.rst @@ -101,8 +101,8 @@ to control the number of posts to display on the blog homepage: parameters: homepage.num_items: 10 -If you ask yourself when the last time was that you changed the value of -*any* option like this, odds are that you *never* have. Creating a configuration +If you've done something like this in the past, it's likely that you've in fact +*never* actually needed to change that value. Creating a configuration option for a value that you are never going to configure just isn't necessary. Our recommendation is to define these values as constants in your application. You could, for example, define a ``NUM_ITEMS`` constant in the ``Post`` entity: