public getExtraPath ( $path ) : string | ||
$path | ||
return | string |
public function getExtraPath($path)
{
return $this->getPath() . '/' . $path;
}
/** * Get migration path. * * @return string */ public function getPath() { $config = $this->module->get('migration'); $path = is_array($config) && array_key_exists('path', $config) ? $config['path'] : config('modules.paths.generator.migration'); return $this->module->getExtraPath($path); }