1 | <?php |
||
9 | class Status extends Command |
||
10 | { |
||
11 | use CanForce; |
||
12 | |||
13 | protected $client; |
||
14 | /** |
||
15 | * The name and signature of the console command. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $signature = 'uptime:status {--F|force}'; |
||
20 | |||
21 | /** |
||
22 | * The console command description. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $description = 'Display The Status Of All Endpoint In A Table'; |
||
27 | |||
28 | /** |
||
29 | * Execute the console command. |
||
30 | * |
||
31 | * @return mixed |
||
32 | */ |
||
33 | public function handle() |
||
50 | |||
51 | protected function getEndpointStatus(Endpoint $endpoint) |
||
60 | |||
61 | protected function formatStatus($status) |
||
69 | } |
||
70 |
Since your code implements the magic getter
_get
, this function will be called for any read access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.