Files
web-site/Internal/package-console/CreateGrandVision.php
T
2026-07-01 16:44:17 +03:00

32 lines
673 B
PHP

<?php namespace ZN\Console;
/**
* ZN PHP Web Framework
*
* "Simplicity is the ultimate sophistication." ~ Da Vinci
*
* @package ZN
* @license MIT [http://opensource.org/licenses/MIT]
* @author Ozan UYKUN [ozan@znframework.com]
*/
use ZN\Config;
use Generate;
/**
* @command create-grand-vision
* @description create-grand-vision [database name]
*/
class CreateGrandVision
{
/**
* Magic constructor
*
* @param string $command = NULL
*
* @return void
*/
public function __construct($command = NULL)
{
new Result(Generate::grandVision($command ?: Config::get('Database', 'database')['database']));
}
}