public function footerLayout() { try { $layout = new ControllerLayout(); $layout->footerLayout(); } catch (Exception $ex) { echo "Erro: {$ex}"; } }