| 1 | <?php |
||
| 22 | abstract class AbstractController extends Controller |
||
| 23 | { |
||
| 24 | use DispatchesJobs, GetsMiddleware; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Whitelisted methods. |
||
| 28 | * |
||
| 29 | * Array of whitelisted methods which do not need to go through middleware. |
||
| 30 | * |
||
| 31 | * @var array |
||
| 32 | */ |
||
| 33 | protected $middlewareWhitelist = []; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * The password broker. |
||
| 37 | * |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | protected $broker; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the broker to be used. |
||
| 44 | * |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | protected function getBroker() |
||
| 51 | } |
||
| 52 |