/** * Add a new bean to the definition liste * @param $bean SimpleXMLElement * @return unknown_type */ private function addBean(\SimpleXMLElement $bean, $xmlFile) { $compo = new Component(); $compo->doNode($bean); $this->context->addComponents($compo); return; }