/** * Overwritten method from parent class * * @param string s string to add to the content * @throws lang.IllegalAccessException in case processing is requested */ public function write($s) { if ($this->_processed) { throw new \lang\IllegalAccessException('Cannot write directly'); } parent::write($s); }