public function devServer(string $host, int $port)
    {
        // Mark server mode
        define('SERVER_MODE', 'buildin');

        $this->config['host'] = $host;
        $this->config['port'] = $port;

        $this->printServerFinger();

        // Start cli Development Server
        $bind_http = $host . ':' . $port;
        passthru("php -S {$bind_http} -t " . APP_PATH . "/public");
    }
public function devServer(string $host, int $port)
    {
        // Mark server mode
        define('SERVER_MODE', 'buildin');

        $this->config['host'] = $host;
        $this->config['port'] = $port;

        $this->printServerFinger();

        // Start cli Development Server
        $bind_http = $host . ':' . $port;
        passthru("php -S {$bind_http} -t " . APP_PATH . "/public");
    }
public function devServer ( string $ host , int $ port ) { // Mark server mode define ( 'SERVER_MODE' , 'buildin' ) ; $ this -> config [ 'host' ] = $ host ; $ this -> config [ 'port' ] = $ port ; $ this -> printServerFinger ( ) ; // Start cli Development Server $ bind_http = $ host . ':' . $ port ; passthru ( "php -S {$bind_http} -t " . APP_PATH . "/public" ) ; }
Start a PHP Development Server

@param  string $host
@param  int    $port
@return null
Start a PHP Development Server