for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Laravel\Forge\Sites\Commands\Workers;
class GetWorkerCommand extends WorkerCommand
{
/**
* Site resource path.
*
* @return string
*/
public function siteResourcePath()
return 'workers/'.$this->getSiteResourceId();
}
* HTTP request method.
public function requestMethod()
return 'GET';