for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Laravel\Forge\Deployment\Commands;
use Laravel\Forge\Resource;
use Laravel\Forge\Commands\ResourceCommand;
use Laravel\Forge\Commands\RawBodyResponseTrait;
use Laravel\Forge\Commands\NotSupportingResourceClassTrait;
class UpdateDeploymentScriptCommand extends ResourceCommand
{
use NotSupportingResourceClassTrait, RawBodyResponseTrait;
/**
* Site resource path.
*
* @return string
*/
public function resourcePath()
return 'deployment/script';
}
* HTTP request method.
public function requestMethod()
return 'PUT';