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