๐ฉโ๐ป Join our community of thousands of amazing developers!
Our handy Ray debugging app gained a cool new trick: it can now display the values of private properties and results of private methods. Consider this simple class. class PrivateClass { private string $privateProperty = 'this is the value of the private property'; private function privateMethod() { return 'this is the result of the private method'; } } Here's how you can send the value of the private property to Ray. $privateClass = new PrivateClass(); ray()->invade($...