<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;

class ServeWithCustomPort extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'serve:custom';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Run the server on specific port';

    /**
     * Execute the console command.
     */
    public function handle()
    {
        $this->call('serve', [
            '--port' => 8005, // Set your custom port here
        ]);
    }
}
