/** * Overwritten method from parent class * * @param string content Content * @throws lang.IllegalAccessException */ public function setContent($content) { if ($this->_processed) { throw new \lang\IllegalAccessException('Cannot write directly'); } parent::setContent($content); }