From 39cad7329d323ae7d13767114759e182dc3ac5f5 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 13 Jun 2021 15:56:51 -0600 Subject: [PATCH] Refactor Sample command - SampleCommands.php extracted from WillowCommands.php as a standalone task command. - `eject` removes SampleCommands.php --- app/Robo/Plugin/Commands/WillowCommands.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/Robo/Plugin/Commands/WillowCommands.php b/app/Robo/Plugin/Commands/WillowCommands.php index 988bcc9..bc9467a 100644 --- a/app/Robo/Plugin/Commands/WillowCommands.php +++ b/app/Robo/Plugin/Commands/WillowCommands.php @@ -14,19 +14,6 @@ final public function docs(): void { $this->taskOpenBrowser('https://www.notion.so/ryannerd/Get-Started-bf56317580884ccd95ed8d3889f83c72')->run(); } - /** - * Launch the built-in PHP server and load the Sample in a web browser - */ - final public function sample(): void { - $this->taskServer(8088) - ->host('127.0.0.1') - ->dir(__DIR__ . '/../../../../public') - ->background() - ->run(); - $this->taskOpenBrowser('http://localhost:8088/v1/sample/Hello-World')->run(); - sleep(15); - } - /** * Show Willow's fancy banner */