1 | <?php |
||
22 | class Application extends BaseApplication |
||
23 | { |
||
24 | /** |
||
25 | * Get the builds path. |
||
26 | * |
||
27 | * @param string $path Optionally, a path to append to the base path |
||
28 | * |
||
29 | * @return string |
||
30 | */ |
||
31 | 1 | public function buildsPath(string $path = ''): string |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 21 | protected function registerBaseServiceProviders() |
|
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | 21 | public function version() |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 1 | public function runningInConsole() |
|
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | 1 | public function isDownForMaintenance() |
|
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function configurationIsCached() |
||
75 | |||
76 | /** |
||
77 | * Throw an Console Exception with the given data unless the given condition is true. |
||
78 | * |
||
79 | * @param int $code |
||
80 | * @param string $message |
||
81 | * @param array $headers |
||
82 | * @return void |
||
83 | * |
||
84 | * @throws \Symfony\Component\Console\Exception\CommandNotFoundException |
||
85 | * @throws \LaravelZero\Framework\Contracts\Exceptions\ConsoleException |
||
86 | */ |
||
87 | 1 | public function abort($code, $message = '', array $headers = []) |
|
95 | } |
||
96 |
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.