MCPcopy Create free account
hub / github.com/VemtoOrg/vemto2 / getImportData

Method getImportData

src/php/common/ModelRepository.php:211–217  ·  view source on GitHub ↗
(array $modelData, $import)

Source from the content-addressed store, hash-verified

209 }
210
211 public function getImportData(array $modelData, $import) {
212 return [
213 'import' => $import->name,
214 'name' => $import->getShortName(),
215 'alias' => $this->getAlias($modelData['fileContent'], $import),
216 ];
217 }
218
219 public function getAlias(string $classContent, $import) {
220 $useStatement = $import->name;

Callers 1

buildImportStatementMethod · 0.95

Calls 1

getAliasMethod · 0.95

Tested by

no test coverage detected