. * @author niel * @copyright 2016 nZEDb */ namespace App\extensions\command; use App\extensions\console\Command; use App\Models\Settings; /** * Verifies various parts of your indexer. * * Actions: * * settings_table Checks that all settings in the 10~settings.tsv exist in your Db. */ class Verify extends Command { /** * Constructor. * * @param array $config */ public function __construct(array $config = []) { $this->setName('verify') ->setHelp('This function is used to verify that settings table is properly populated'); parent::__construct($config); } public function settingstable() { $dummy = Settings::hasAllEntries($this); } }