title: How to Call a controller function in another Controller in Laravel 5
body: <p>im using laravel 5.</p>
  
  <p>I need to call a controller function but this should be done in another controller.</p>
  
  <p>I dont know how to do this</p>
  
  <pre><code>public function examplefunction(){
  
     //stuff
  
  }
  </code></pre>
  
  <p>And i have a Route for this function, so at</p>
  
  <pre><code>public function otherfunctioninothercontroller(){
  // I need examplefunction here
  }
  </code></pre>
  
  <p>how Can i do this?</p>