| 1 | <?php |
||
| 16 | class FMeatClient |
||
| 17 | { |
||
| 18 | /** @var NetworkService */ |
||
| 19 | private $networkService; |
||
| 20 | |||
| 21 | /** @var YearWeekUtil */ |
||
| 22 | private $yearkWeekUtil; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * FMeatClient constructor. |
||
| 26 | * @param bool $useCaching |
||
| 27 | */ |
||
| 28 | public function __construct(bool $useCaching = false) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param string $location |
||
| 42 | * @return Week |
||
| 43 | */ |
||
| 44 | public function getCurrentWeekForLocation(string $location = Locations::FMI_BISTRO): Week |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $location |
||
| 52 | * @return Week |
||
| 53 | */ |
||
| 54 | public function getNextWeekForLocation(string $location = Locations::FMI_BISTRO): Week |
||
| 59 | } |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.