extension ESaveRelatedBehavior need to fix

extension ESaveRelatedBehavior need to fix

211 - ‘/^\s*\{{0,2}\s*(.+?)\s*\}{0,2}\s*\(\s*(.+)\s*,\s*(.+)\s*\)\s*$/s’, change to ‘/^\s*(.?)\(\s(.+)\s*,\s*(.+)\s*\)\s*$/s’,

We can work with the pseudo name of the table

Exemple:

public function relations()

{


    return [


        'users'   => [self::MANY_MANY, 'Center', '{{posts_user}}(post_id,user_id)'],


    ];


}

This decision recognizes the type of table {{table}}