title: Set variable for a controller - Laravel 4
body: <p>So here is the thing. I need someway to set a global variable for the whole controller.</p>
  
  <p>I need it because all of the actions in the controller is going to need to receive the data via the GET method.</p>
  
  <p>I thought that maybe placing it in the __construct will make it work like this:</p>
  
  <pre><code>public function __construct()
  {
      $this-&gt;team_id = Input::get('team_id');
  }
  </code></pre>
  
  <p>But it says team_id is not found....</p>
  
  <p>Thanks for your help,
  Ara</p>