for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MichaelRubel\LoopFunctions\Traits;
trait WithDynamicProperties
{
/**
* @param string $name
*
* @return mixed
*/
public function __get(string $name): mixed
return $this->{$name};
}
* @param mixed $value
* @return void
public function __set(string $name, mixed $value): void
$this->{$name} = $value;