You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
390 B
25 lines
390 B
<?php |
|
|
|
namespace yiiunit\framework\db; |
|
|
|
use yii\base\InvalidCallException; |
|
use yii\db\Query; |
|
|
|
class UnqueryableQueryMock extends Query |
|
{ |
|
/** |
|
* @inheritdoc |
|
*/ |
|
public function one($db = null) |
|
{ |
|
throw new InvalidCallException(); |
|
} |
|
|
|
/** |
|
* @inheritdoc |
|
*/ |
|
public function all($db = null) |
|
{ |
|
throw new InvalidCallException(); |
|
} |
|
}
|
|
|