/** * {@inheritDoc} */ public function beforeTraverse(array $nodes) { parent::beforeTraverse($nodes); $this->newContent = array(); }