src/generators/model/Generator.php
protected function generateRelationLink($refs)
    {
        $pairs = [];
        foreach ($refs as $a => $b) {
            $pairs[] = "'$a' => '$b'";
        }

        return '[' . implode(', ', $pairs) . ']';
    }
protected function generateRelationLink($refs)
    {
        $pairs = [];
        foreach ($refs as $a => $b) {
            $pairs[] = "'$a' => '$b'";
        }

        return '[' . implode(', ', $pairs) . ']';
    }
protected function generateRelationLink ( $ refs ) { $ pairs = [ ] ; foreach ( $ refs as $ a => $ b ) { $ pairs [ ] = "'$a' => '$b'" ; } return '[' . implode ( ', ' , $ pairs ) . ']' ; }
Generates the link parameter to be used in generating the relation declaration.
@param array $refs reference constraint
@return string the generated link parameter.
Generates the link parameter to be used in generating the relation declaration .