Class Invasion Both Ways

no-email (Damien Seguy), Damien Seguy
Mon, 04 Dec 2023 00:00:00 +0000

Class invasion, it when an object access anything it wants in another object of the same class. Thanks to the way PHP checks each object's perimeter.
The same checks allow the other object to access the current one's, as seen in that example.