Skip to content

classes_modules_cli_devserver.class

Daniel Spors edited this page Mar 11, 2024 · 2 revisions

Classes in file modules/cli/devserver.class.php

class DevServer

Starts a local PHP Webserver

Extends: Task

Run

Starts a PHP develompent server. This is in fact php -S with a custom router script.

Definition: public function Run($args)

Returns: void

Parameters:

  • mixed $args Optional endpoint, defaults to 127.0.0.1:80
Clone this wiki locally