title: Pass Data between two different controllers in laravel
body: <p>I am building an application in Laravel. I need to pass some data between two methods in two different controllers. Let me explain You,</p>
  
  <p>I have a controller sellerRegisterController which has a method verifySeller,</p>
  
  <pre><code>class sellerRegisterController extends Controller
  {
  
  public function verifySeller()
  {
  //some logic here
  
  }
  
  }
  </code></pre>
  
  <p>The above veirfySeller method works on some logic and create a varible ID, I want to pass that varible ID data to another method (submitSellerDetails) in different controller (sellerDetailsController).</p>
  
  <pre><code>class sellerDetailsContorller extends Controller
      {
  
      public function submitSellerDetails()
      {
      //some logic here
      }
  
      }
  </code></pre>
  
  <p>In a nutshell I want to know how can I pass data/variable from one method to another in different controllers? Thanks</p>