/** * Sets the notices cache to TRUE and propagates the information * upwards the Result-Object Tree * * @return void */ protected function setNoticesExist() { $this->noticesExist = true; if ($this->parent !== null) { $this->parent->setNoticesExist(); } }
/** * Sets the notices cache to TRUE and propagates the information * upwards the Result-Object Tree * * @return void */ protected function setNoticesExist() { $this->noticesExist = TRUE; if ($this->parent !== NULL) { $this->parent->setNoticesExist(); } }
/** * Injects the parent result and propagates the * cached error states upwards * * @param \TYPO3\Flow\Error\Result $parent * @return void */ public function setParent(Result $parent) { if ($this->parent !== $parent) { $this->parent = $parent; if ($this->hasErrors()) { $parent->setErrorsExist(); } if ($this->hasWarnings()) { $parent->setWarningsExist(); } if ($this->hasNotices()) { $parent->setNoticesExist(); } } }