src/Model/AssociationsAwareTrait.php
private function getModuleRelatedField(array $fields) : ?CsvField
    {
        foreach ($fields as $field) {
            if ($this->getTableName() === $field->getAssocCsvModule()) {
                return $field;
            }
        }

        return null;
    }
private function getModuleRelatedField(array $fields) : ?CsvField
    {
        foreach ($fields as $field) {
            if ($this->getTableName() === $field->getAssocCsvModule()) {
                return $field;
            }
        }

        return null;
    }
private function getModuleRelatedField ( array $ fields ) : ? CsvField { foreach ( $ fields as $ field ) { if ( $ this -> getTableName ( ) === $ field -> getAssocCsvModule ( ) ) { return $ field ; } } return null ; }
Retrieves current module related field, from "relation" type Modules.

@param mixed[] $fields Module fields
@return \CsvMigrations\FieldHandlers\CsvField|null
Retrieves current module related field from relation type Modules .