add console command docs

This commit is contained in:
Antonio Ramirez
2017-06-13 10:56:06 +02:00
parent d4882ad2fa
commit 2d6d6d968b
5 changed files with 82 additions and 3 deletions

View File

@ -25,6 +25,7 @@ class CreateController extends Controller
public function actionIndex($email, $username, $password = null)
{
/** @var User $user */
$user = $this->make(
User::class,
['scenario' => 'create', 'email' => $email, 'username' => $username, 'password' => $password]