@@ -10,8 +10,8 @@ |
||
10 | 10 | |
11 | 11 | error_reporting(E_ALL); |
12 | 12 | |
13 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
14 | -require_once __DIR__ . '/../vendor/yiisoft/yii2/Yii.php'; |
|
13 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
14 | +require_once __DIR__.'/../vendor/yiisoft/yii2/Yii.php'; |
|
15 | 15 | |
16 | 16 | use hiqdev\composer\config\Builder; |
17 | 17 | use yii\console\Application; |
@@ -105,6 +105,9 @@ discard block |
||
105 | 105 | return $rows; |
106 | 106 | } |
107 | 107 | |
108 | + /** |
|
109 | + * @param \yii\db\Connection $db |
|
110 | + */ |
|
108 | 111 | public function searchAll($db = null) |
109 | 112 | { |
110 | 113 | return $this->searchBatch($db)->getData(); |
@@ -153,6 +156,10 @@ discard block |
||
153 | 156 | return $this; |
154 | 157 | } |
155 | 158 | |
159 | + /** |
|
160 | + * @param string $name |
|
161 | + * @param boolean $value |
|
162 | + */ |
|
156 | 163 | public function addOption($name, $value) |
157 | 164 | { |
158 | 165 | if (!isset($this->options[$name])) { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use hiqdev\hiart\AbstractRequest; |
14 | 14 | use hiqdev\hiart\AbstractResponse; |
15 | -use hiqdev\hiart\ResponseErrorException; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * For creating response manually. |