for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Spaark\CompositeUtils\Model\Reflection;
/**
*
*/
use Spaark\CompositeUtils\Traits\AllReadableTrait;
class Reflector
{
use AllReadableTrait;
public static function blankInstance()
return new self();
}
private $locked = false;
public function __set($var, $val)
if ($this->locked)
return parent::__set($var, $val);
else
$this->$var = $val;
public function addTo($name, $args)
$var = lcfirst($name);
$this->$var->add($args[0]);