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