protected function addRoutes() { $this->app->post('/worker/schedule', 'Dusterio\\AwsWorker\\Controllers\\WorkerController@schedule'); $this->app->post('/worker/queue', 'Dusterio\\AwsWorker\\Controllers\\WorkerController@queue'); }