title: Change variable sent to view Laravel
body: <p>in <code>__construct()</code> in my controller I sent some data to my view by:</p>
  
  <pre><code>public function __construct(){
      // code
      View::share('messages',$messages);
      // more code
  }
  </code></pre>
  
  <p>In other method I want to change this value (action from user change it). I don't want to copy this part of code to every method in controller because code is not clear in my opinion.</p>
  
  <p>Can I use something like:</p>
  
  <pre><code>View()-&gt;get('param');
  </code></pre>
  
  <p>If you have any ideas so please answer :)</p>