Generate a relation name for the specified table and a base name.
protected generateRelationName ( array $relations, yii\db\TableSchema $table, string $key, boolean $multiple ) : string | ||
$relations | array | the relations being generated currently. |
$table | yii\db\TableSchema | the table schema |
$key | string | a base name that the relation name may be generated from |
$multiple | boolean | whether this is a has-many relation |
return | string | the relation name |