<?php /** * Created by PhpStorm. * User: PFG2018 * Date: 2019/5/18 * Time: 10:57 */ namespace console\controllers; use yii\console\Controller; class EmailController extends Controller{ public function actionIndex() { echo 111; } }