src/ServeCommand.php
protected function buildCommand($binary, $host, $port, $base)
    {
        $binary = $this->handleCustomIni($binary);

        $base = str_replace("'", '', $base);

        $command = "{$binary} -S {$host}:{$port} {$base}/server.php";

        return $command;
    }
protected function buildCommand($binary, $host, $port, $base)
    {
        $binary = $this->handleCustomIni($binary);

        $base = str_replace("'", '', $base);

        $command = "{$binary} -S {$host}:{$port} {$base}/server.php";

        return $command;
    }
protected function buildCommand ( $ binary , $ host , $ port , $ base ) { $ binary = $ this -> handleCustomIni ( $ binary ) ; $ base = str_replace ( "'" , '' , $ base ) ; $ command = "{$binary} -S {$host}:{$port} {$base}/server.php" ; return $ command ; }
Returns a command to pass through to shell.

@param string $binary Usually full path to the PHP executable
@param string $host   Hostname
@param int    $port
@param string $base   Full path to Laravel project root

@return string
Returns a command to pass through to shell .