public function setFactory($callable) { $this->changes['factory'] = true; return parent::setFactory($callable); }