for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace OwenIt\Auditing\Console;
use Illuminate\Console\GeneratorCommand;
class AuditResolverCommand extends GeneratorCommand
{
/**
* {@inheritdoc}
*/
protected $name = 'auditing:audit-resolver';
protected $description = 'Create a new audit resolver';
protected $type = 'AuditResolver';
protected function getStub()
return __DIR__ . '/../../stubs/resolver.stub';
}
protected function getDefaultNamespace($rootNamespace)
return $rootNamespace . '\AuditResolvers';
public function handle()
$this->info('Add your new resolver to the resolvers array in audit.php config file.');
return parent::handle();