public function __set($name, $value) { if ($value instanceof Ezer_Step) { $this->add($value); } else { parent::__set($name, $value); } }
public function __set($name, $value) { if ($name == 'args' && !$value instanceof Ezer_Array) { $arr = new Ezer_Array(); $arr->add($value); $value = $arr; } parent::__set($name, $value); }