protected getTableNames ( ) : array | ||
return | array | the table names that match the pattern specified by [[tableName]]. |
/** * @inheritdoc */ protected function getTableNames() { $tableNames = parent::getTableNames(); if (($key = array_search('migration', $tableNames)) !== false) { unset($tableNames[$key]); return array_values($tableNames); } return $tableNames; }
/** * @inheritdoc */ public function getTableNames() { return parent::getTableNames(); }
/** * @inheritdoc */ protected function getTableNames() { try { $this->tableNames = array_filter(parent::getTableNames(), function ($tableName) { return preg_match('~^(?:' . $this->includeFilter . ')$~i', $tableName) && !preg_match('~^(?:' . $this->excludeFilter . ')$~i', $tableName); }); } catch (ErrorException $e) { } return $this->tableNames; }