1 | <?php |
||
23 | class Application extends BaseApplication |
||
24 | { |
||
25 | /** |
||
26 | * Get the builds path. |
||
27 | * |
||
28 | * @param string $path Optionally, a path to append to the base path |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | 1 | public function buildsPath(string $path = ''): string |
|
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | 19 | protected function registerBaseBindings() |
|
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | 19 | protected function registerBaseServiceProviders() |
|
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | 19 | public function version() |
|
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | 1 | public function runningInConsole() |
|
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | 1 | public function isDownForMaintenance() |
|
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | public function configurationIsCached() |
||
89 | |||
90 | /** |
||
91 | * Throw an Console Exception with the given data unless the given condition is true. |
||
92 | * |
||
93 | * @param int $code |
||
94 | * @param string $message |
||
95 | * @param array $headers |
||
96 | * @return void |
||
97 | * |
||
98 | * @throws \Symfony\Component\Console\Exception\CommandNotFoundException |
||
99 | * @throws \LaravelZero\Framework\Contracts\Exceptions\ConsoleException |
||
100 | */ |
||
101 | 1 | public function abort($code, $message = '', array $headers = []) |
|
109 | } |
||
110 |
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.