1 | <?php namespace Arcanesoft\Core\Bases; |
||
13 | abstract class RouteServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | /* ----------------------------------------------------------------- |
||
16 | | Properties |
||
17 | | ----------------------------------------------------------------- |
||
18 | */ |
||
19 | |||
20 | /** |
||
21 | * The admin controller namespace for the application. |
||
22 | * |
||
23 | * @var string|null |
||
24 | */ |
||
25 | protected $adminNamespace; |
||
26 | |||
27 | /* ----------------------------------------------------------------- |
||
28 | | Getters & Setters |
||
29 | | ----------------------------------------------------------------- |
||
30 | */ |
||
31 | |||
32 | /** |
||
33 | * Get the config repository instance. |
||
34 | * |
||
35 | * @return \Illuminate\Contracts\Config\Repository |
||
36 | */ |
||
37 | protected function config() |
||
41 | |||
42 | /** |
||
43 | * Get the admin route attributes. |
||
44 | * |
||
45 | * @return array |
||
46 | */ |
||
47 | protected function getAdminAttributes() |
||
51 | |||
52 | /* ----------------------------------------------------------------- |
||
53 | | Main Methods |
||
54 | | ----------------------------------------------------------------- |
||
55 | */ |
||
56 | |||
57 | /** |
||
58 | * Group the routes with admin attributes. |
||
59 | * |
||
60 | * @param \Closure $callback |
||
61 | */ |
||
62 | protected function adminGroup(Closure $callback) |
||
72 | } |
||
73 |