Skip to content

Commit

Permalink
Update PhpServer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve "Uru" West committed Mar 6, 2015
1 parent e55e6e1 commit 69053c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Task/Development/PhpServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
* ``` php
* <?php
* // run server in /public directory
* $this->taskPhpServer(8000)
* $this->taskServer(8000)
* ->dir('public')
* ->run();
*
* // run with IP 0.0.0.0
* $this->taskPhpServer(8000)
* $this->taskServer(8000)
* ->host('0.0.0.0')
* ->run();
*
* // execute server in background
* $this->taskPhpServer(8000)
* $this->taskServer(8000)
* ->background()
* ->run();
* ?>
Expand Down Expand Up @@ -53,4 +53,4 @@ public function getCommand()
return sprintf($this->command . $this->arguments, $this->host, $this->port);
}

}
}

0 comments on commit 69053c8

Please sign in to comment.