1 | <?php |
||
8 | class StatusController extends Controller |
||
9 | { |
||
10 | /** @var \Sausin\Signere\Status */ |
||
11 | protected $status; |
||
12 | |||
13 | /** |
||
14 | * Create a new controller instance. |
||
15 | * |
||
16 | * @param \Sausin\Signere\Status $status |
||
17 | */ |
||
18 | 2 | public function __construct(Status $status) |
|
24 | |||
25 | /** |
||
26 | * Returns the UTC time of the Signere server. |
||
27 | * |
||
28 | * @return \Illuminate\Http\Response |
||
29 | */ |
||
30 | 1 | public function index() |
|
36 | |||
37 | /** |
||
38 | * Check if Signere service is operational. |
||
39 | * |
||
40 | * @param string $message |
||
41 | * @return \Illuminate\Http\Response |
||
42 | */ |
||
43 | 1 | public function show(string $message) |
|
49 | } |
||
50 |