protected function modify() { $this->isModified = true; $this->parent->setAsModified($this->metadata->name); }