Created
November 23, 2016 11:41
-
-
Save ildarusmanov/6c928a8c87d58db45e015bab4a9509a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* | |
* commands/FirstController.php | |
* | |
* in console: | |
* php yii first/run | |
*/ | |
namespace app\commands; | |
use yii\console\Controller; | |
class FirstController extends Controller | |
{ | |
public function actionRun() | |
{ | |
// some code | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment