Creation of class dynamic properties is deprecated in php 8.2.produces the error message.
Needs review
1.0
Code