/** * Initalize all components * * @param object $components */ public function __construct($components) { $routing = new PWEL_ROUTING(); $routing->setHeader(); $this->initComponents($components); }