/**
  * Metodo privado para obter instacia do Model RelatorioTable
  *
  * @return Select
  */
 public function getSelect($id)
 {
     echo "<script>console.log('PHP: " . json_encode($id) . "');</script>";
     $this->relatorioTable = (array) $this->getRelatorioTable()->getSelect($id);
     //echo json_encode($this->relatorioTable);
     // return vairavel de classe com service RelatorioTable
     //return $this->relatorioTable;
     return Response::json($this->relatorioTable);
 }