title: How to define constants in controllers?
body: <p>I want to use constants in symfony2 controllers. This is how i am defining them:</p>
  
  <pre><code>class MyController extends Controller {
    const CONSTANT_ONE = 1;
    const CONSTANT_TWO = 2; }
  </code></pre>
  
  <p>Is this the correct way? And how do i need to use the constants in the controller? Any other better way?</p>
  
  <p>Thank You!</p>