title: How to override `issueToken` method in Laravel/Passport
body: <p>I am trying to override the <code>issueToken</code> method located in the <code>\Laravel\Passport\Http\Controllers\AccessTokenController</code> without adding a new route i.e(api/oauth/token). I have built my own <code>AccessTokenController</code> that performs the functionality that i want but when i make a call to <code>oauth/token</code>, the parent method is being executed and not my implementation.. am i misisng something to complete the override? </p>
  
  <pre><code>&lt;?php
     namespace App\Http\Controllers;
  
     use phpseclib\Crypt\RSA;
     use Illuminate\Database\Eloquent\ModelNotFoundException;
     use League\OAuth2\Server\Exception\OAuthServerException;
     use Psr\Http\Message\ServerRequestInterface;
     use \Laravel\Passport\Http\Controllers\AccessTokenController as ATC;
  
     class AccessTokenController extends ATC {
  
       public function issueToken(ServerRequestInterface $request){
         try {
           // Fetching username from request
           $username = $request-&gt;getParseBody()['username'];
           // Fetching the User
           $user = User::where('email', '=', $username);
           // Genereting token
           $tokenResponse = parent::issueToken($request);
           //convert response to json string
           $content = $tokenResponse-&gt;getBody()-&gt;__toString();
           $content['email'] = $user['emial'];
           //convert json to array
           $data = json_decode($content, true);
           return $data;
  
         } catch (OAuthServerException $e) {
           return ['Message' =&gt; 'The suer credentials were incorrect!'];
         }catch (\Exception $e) {
           return ['Message' =&gt; 'Exception: '.$e];
         }
       }
     }
  </code></pre>