public function empresa() { $artigo = Container::getClass('Artigo'); $this->view->artigos = $artigo->fetchAll(); $this->render('index'); }
public function artigos() { $artigos = Container::getClass("Artigo"); $this->view->artigos = $artigos->fetchAll(); $this->render('artigo'); }