Ejemplo n.º 1
0
 /**
  * @return array
  */
 public function getTables()
 {
     if (!$this->tables) {
         $this->tables = $this->connection->getTables();
     }
     return $this->tables;
 }
Ejemplo n.º 2
0
 /**
  * @return array
  */
 public function getRows()
 {
     if (!$this->rows) {
         $this->rows = $this->connection->getRows($this->name);
     }
     return $this->rows;
 }
Ejemplo n.º 3
0
 /**
  * @return array
  */
 public function getTables()
 {
     if (!$this->tables) {
         $this->tables = $this->connection->getTables();
     }
     if (!$this->tables) {
         throw new \exception("Unable to retrieve any tables.");
     }
     return $this->tables;
 }