for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Maestriam\Samurai\Console;
use Exception;
class RefreshThemeCommand extends BaseCommand
{
/**
* {@inheritDoc}
*/
protected $signature = 'samurai:refresh';
protected $description = 'Refresh cache and view in Laravel Project.';
protected string $successMessage = 'Cache and views are refreshed.';
protected string $errorMessage = 'Error to refresh project: %s';
* Executa o comando de console
*
* @return mixed
public function handle()
try {
$this->clean();
return $this->success();
} catch (Exception $e) {
return $this->failure($e);
}