/**
* @param string $tableName
*
* @return string
*/
public function getSourceCodeForTable($tableName) { $table =
$this->
getSchemaManager()->
listTableDetails($tableName);
return $this->
generateModel($table);
} /**
* Generates the models for the extension tables like s_user_extension.
* This tables can be modified from plugins so we have to generate the models after each plugin installation.
*
* @param string[] $tableNames
*
* @throws Exception
*
* @return array
*/