1 | <?php |
||
14 | abstract class AbstractController extends Controller |
||
15 | { |
||
16 | use GetsMiddleware; |
||
17 | use DispatchesJobs; |
||
18 | use ValidatesRequests; |
||
19 | use AuthorizesRequests; |
||
20 | |||
21 | /** |
||
22 | * Whitelisted methods. |
||
23 | * Array of whitelisted methods which do not need to go through middleware. |
||
24 | * |
||
25 | * @var array |
||
26 | */ |
||
27 | protected $middlewareWhitelist = []; |
||
28 | |||
29 | /** |
||
30 | * The broker name. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | protected $broker; |
||
35 | |||
36 | /** |
||
37 | * Create a new authenticated controller instance. |
||
38 | */ |
||
39 | public function __construct() |
||
45 | |||
46 | /** |
||
47 | * Get the broker to be used. |
||
48 | * |
||
49 | * @return string |
||
50 | */ |
||
51 | protected function getBroker() |
||
55 | } |
||
56 |