public function __construct($parent) { parent::__construct(); $this->parent = $parent; $this->changes = array(); }