Исправлена инъекция зависимости, потерянная при мерже

This commit is contained in:
ErickSkrauch 2017-06-11 22:09:07 +03:00
parent 818b4221cb
commit 8e1e83ad67
2 changed files with 10 additions and 0 deletions

View File

@ -79,6 +79,11 @@ return [
],
],
],
'container' => [
'definitions' => [
GuzzleHttp\ClientInterface::class => GuzzleHttp\Client::class,
],
],
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',

View File

@ -6,6 +6,11 @@ use yii\console\Controller;
class CleanupController extends Controller {
public function actionTest() {
$validator = \Yii::createObject(\api\components\ReCaptcha\Validator::class);
var_dump($validator);
}
public function actionEmailKeys() {
$query = EmailActivation::find();
$conditions = ['OR'];