title: How do I use Method Overloading in Laravel Controller?
body: <p>I am trying to use method overloading feature in my laravel controller class. here is my methods </p>
  
  <pre><code>  # Load Customer Balance View
    public function createBalance()
    {
      return view('customer.balance');
    }
  
    # Load Customer Balance View
    public function createBalance($CustomerID)
    {
      // show balance of the the defined customer
    }
  </code></pre>
  
  <p>Here is my route -</p>
  
  <pre><code>    // customer balance
      Route::get('Customer/Balance', 'CustomerController@createBalance');
  
      Route::get('Customer/Balance/{ID}', 'CustomerController@createBalance');
  </code></pre>
  
  <p>But it shows the error -</p>
  
  <pre><code>FatalErrorException in CustomerController.php line 45:
  Cannot redeclare App\Http\Controllers\CustomerController::createBalance()
  </code></pre>
  
  <p>Any solution please ?</p>