for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace ProxyManagerTestAsset;
/**
* Base test class to play around with pre-existing magic methods
*
* @author Marco Pivetta <[email protected]>
* @license MIT
*/
class ClassWithMagicMethods
{
public function __set($name, $value)
return [$name => $value];
}
public function __get($name)
return $name;
public function __isset($name)
return (bool) $name;
public function __unset($name)
public function __sleep()
return [];
public function __wakeup()
public function __clone()