public createAuthController ( ) : void | ||
Результат | void |
public function createAuthController()
{
$authController = $this->directory . '/Controllers/AuthController.php';
$contents = $this->getStub('AuthController');
$this->laravel['files']->put($authController, str_replace('DummyNamespace', Admin::controllerNamespace(), $contents));
$this->line('<info>AuthController file was created:</info> ' . str_replace(base_path(), '', $authController));
}