1 | <?php |
||
23 | class ManagePersistenceController extends AbstractController |
||
24 | { |
||
25 | /** |
||
26 | * Create a new account controller instance. |
||
27 | * |
||
28 | * @param \Rinvex\Fort\Contracts\UserRepositoryContract $users |
||
29 | * |
||
30 | * @return void |
||
|
|||
31 | */ |
||
32 | public function __construct(UserRepositoryContract $users) |
||
36 | |||
37 | /** |
||
38 | * Show the account sessions. |
||
39 | * |
||
40 | * @return \Illuminate\Http\Response |
||
41 | */ |
||
42 | public function showPersistence() |
||
46 | |||
47 | /** |
||
48 | * Flush the given session. |
||
49 | * |
||
50 | * @param string $token |
||
51 | * |
||
52 | * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
53 | */ |
||
54 | public function processPersistenceFlush($token = null) |
||
71 | } |
||
72 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.