Use $app->input
All works
Fatal error
Having removed the magic method public function __get($name) from AbstractWebApplication it's no longer possible to use $app->input
Is this really intentional?
I think this will carry on a lot of B/C issues with extensions, also in the comment i don't see it clearly specified as to be removed in 6.0
/**
* Magic method to access properties of the application.
*
* @param string $name The name of the property.
*
* @return Input|null A value if the property name is valid, null otherwise.
*
* @SInCE 2.0.0
* @deprecated 3.0 This is a B/C proxy for deprecated read accesses
*/
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-08-28 09:22:44 |
Closed_By | ⇒ | richard67 |
Totally agree. This has a massive impact on extensions, templates and sites in general.