/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/migrations/src/Util
NameSizeModeActions
ColumnParser.php89290644editdlrm
SchemaTrait.php21850644editdlrm
UtilTrait.php23370644editdlrm
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/migrations/src/Util/UtilTrait.php (2337B)
getOption('plugin') ?: null; return $plugin; } /** * Get the phinx table name used to store migrations data * * @param string $plugin Plugin name * @return string */ protected function getPhinxTable($plugin = null) { $table = 'phinxlog'; if (empty($plugin)) { return $table; } $plugin = Inflector::underscore($plugin) . '_'; $plugin = str_replace(['\\', '/', '.'], '_', $plugin); return $plugin . $table; } /** * Get the migrations or seeds files path based on the current InputInterface * * @param \Symfony\Component\Console\Input\InputInterface $input Input of the current command. * @param string $default Default folder to set if no source option is found in the $input param * @return string */ protected function getOperationsPath(InputInterface $input, $default = 'Migrations') { $folder = $input->getOption('source') ?: $default; $dir = ROOT . DS . 'config' . DS . $folder; if (defined('CONFIG')) { $dir = CONFIG . $folder; } $plugin = $this->getPlugin($input); if ($plugin !== null) { $dir = CorePlugin::path($plugin) . 'config' . DS . $folder; } return $dir; } }