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