/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/migrations/src/Command/Phinx
NameSizeModeActions
BaseCommand.php2320644editdlrm
CacheBuild.php19050644editdlrm
CacheClear.php19730644editdlrm
CommandTrait.php37490644editdlrm
Create.php48640644editdlrm
Dump.php40590644editdlrm
MarkMigrated.php76200644editdlrm
Migrate.php33230644editdlrm
Rollback.php33820644editdlrm
Seed.php29290644editdlrm
Status.php50040644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/migrations/src/Command/Phinx/CacheBuild.php (1905B)
setName('orm-cache-build') ->setDescription( 'Build all metadata caches for the connection. ' . 'If a table name is provided, only that table will be cached.' ) ->addOption( 'connection', null, InputOption::VALUE_OPTIONAL, 'The connection to build/clear metadata cache data for.', 'default' ) ->addArgument( 'name', InputArgument::OPTIONAL, 'A specific table you want to clear/refresh cached data for.' ); } /** * @inheritDoc */ protected function execute(InputInterface $input, OutputInterface $output): int { /** @var string $name */ $name = $input->getArgument('name'); $schema = $this->_getSchema($input, $output); if (!$schema) { return static::CODE_ERROR; } $tables = [$name]; if (empty($name)) { $tables = $schema->listTables(); } foreach ($tables as $table) { $output->writeln('Building metadata cache for ' . $table); $schema->describe($table, ['forceRefresh' => true]); } $output->writeln('Cache build complete'); return static::CODE_SUCCESS; } }