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

Method fillData

src/php/apps/db-reader/src/Migration.php:29–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 protected function fillData(): void
30 {
31 $this->relativePath = str_replace(getcwd(), '', $this->migration);
32 $this->migrationName = str_replace('.php', '', basename($this->migration));
33 $this->datePrefix = substr(basename($this->migration), 0, 10);
34 $this->fullPrefix = substr(basename($this->migration), 0, 17);
35
36 $this->calculateCreatedTables();
37 $this->calculateChangedTables();
38 $this->calculateTableRenames();
39
40 $this->attachToTables();
41 }
42
43 public function calculateCreatedTables(): void
44 {

Callers 1

__constructMethod · 0.95

Calls 4

calculateTableRenamesMethod · 0.95
attachToTablesMethod · 0.95

Tested by

no test coverage detected