for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace A17\Twill\Commands;
class Update extends Command
{
protected $signature = 'twill:update';
protected $description = 'Publish new updated Twill assets';
/**
* Executes the console command.
*
* @return mixed
*/
public function handle()
$this->publishAssets();
$this->call('cache:clear');
}
* Publishes the package frontend assets.
* @return void
private function publishAssets()
$this->call('vendor:publish', [
'--provider' => 'A17\Twill\TwillServiceProvider',
'--tag' => 'assets',
'--force' => true,
]);