for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace GeneratedHydratorTestAsset;
/**
* Test class used to verify that the generated hydrator respects magic getters with a by-ref return value
*/
class ClassWithByRefMagicMethods
{
* {@inheritDoc}
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()
public function & __wakeup()