예제 #1
0
파일: Delete.php 프로젝트: lebris/muffin
 public function toString()
 {
     $from = new From($this->tableName);
     return sprintf('DELETE %s', $from->toString());
 }
예제 #2
0
파일: FromTest.php 프로젝트: lebris/muffin
 /**
  * @dataProvider providerTestEmptyTableName
  * @expectedException \InvalidArgumentException
  */
 public function testEmptyTableName($tableName)
 {
     $qb = new Snippets\From($tableName);
     $qb->toString($tableName);
 }