/** * Initializes the object properties from the cached data. * @param array $cached The cached data array. */ protected function initFromCache($cached) { parent::initFromCache($cached); $this->parsedMarkup = array_key_exists('parsed-markup', $cached) ? $cached['parsed-markup'] : $this->parseMarkup($this->markup); }