. * @author niel * @copyright 2016 nZEDb */ namespace app\extensions\command; use app\models\Settings; use lithium\console\command\Help; /** * 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 \app\extensions\console\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); } }