public function picco(IPiccoNode $node, IPiccoNode $tree) { if (!$node->isPicco() || !isset($this->piccoList[$handle = $node->getPiccoHandler()])) { return $node; } if (($node = $this->piccoList[$handle]->picco($handle, $this, $node, $tree)) === null) { return null; } return $node; }