src/FkConfig.php
public static function buildFkConfig()
    {
        $config = require Config::get('fk_adder.fk_datatypes_path');

        return collect($config)->map(function ($value, $fk) {
            list($datatype, $referenceTable) = (explode(',', $value.','));

            return new Fluent([
                'datatype' => trim($datatype),
                'referenceTable' => trim($referenceTable ?: BaseFk::guessReferenceTable($fk)),
            ]);
        });
    }
public static function buildFkConfig()
    {
        $config = require Config::get('fk_adder.fk_datatypes_path');

        return collect($config)->map(function ($value, $fk) {
            list($datatype, $referenceTable) = (explode(',', $value.','));

            return new Fluent([
                'datatype' => trim($datatype),
                'referenceTable' => trim($referenceTable ?: BaseFk::guessReferenceTable($fk)),
            ]);
        });
    }
public static function buildFkConfig ( ) { $ config = require Config :: get ( 'fk_adder.fk_datatypes_path' ) ; return collect ( $ config ) -> map ( function ( $ value , $ fk ) { list ( $ datatype , $ referenceTable ) = ( explode ( ',' , $ value . ',' ) ) ; return new Fluent ( [ 'datatype' => trim ( $ datatype ) , 'referenceTable' => trim ( $ referenceTable ? : BaseFk :: guessReferenceTable ( $ fk ) ) , ] ) ; } ) ; }
Build fk config array.

@return collect
Build fk config array .