Esempio n. 1
0
 public function toString()
 {
     $from = new From($this->tableName);
     return sprintf('DELETE %s', $from->toString());
 }
Esempio n. 2
0
 /**
  * @dataProvider providerTestEmptyTableName
  * @expectedException \InvalidArgumentException
  */
 public function testEmptyTableName($tableName)
 {
     $qb = new Snippets\From($tableName);
     $qb->toString($tableName);
 }