src/Model/AssociationsAwareTrait.php
private function getModuleFields(string $module) : array
    {
        $config = (new ModuleConfig(ConfigType::MIGRATION(), $module))->parse();
        $config = json_encode($config);
        if (false === $config) {
            return [];
        }

        $fields = json_decode($config, true);

        foreach ($fields as $k => $v) {
            $fields[$k] = new CsvField($v);
        }

        return $fields;
    }
private function getModuleFields(string $module) : array
    {
        $config = (new ModuleConfig(ConfigType::MIGRATION(), $module))->parse();
        $config = json_encode($config);
        if (false === $config) {
            return [];
        }

        $fields = json_decode($config, true);

        foreach ($fields as $k => $v) {
            $fields[$k] = new CsvField($v);
        }

        return $fields;
    }
private function getModuleFields ( string $ module ) : array { $ config = ( new ModuleConfig ( ConfigType :: MIGRATION ( ) , $ module ) ) -> parse ( ) ; $ config = json_encode ( $ config ) ; if ( false === $ config ) { return [ ] ; } $ fields = json_decode ( $ config , true ) ; foreach ( $ fields as $ k => $ v ) { $ fields [ $ k ] = new CsvField ( $ v ) ; } return $ fields ; }
Retrieves specified Module fields.

@param string $module Module name
@return mixed[]
Retrieves specified Module fields .