public function getTableName()
    {
        if (!$this->through) {
            $parts = [
                TableNameResolver::getTableName($this->getTable()),
                TableNameResolver::getTableName($this->getRelatedTable()),
            ];
            sort($parts);

            return '{{%'.implode('_', $parts).'}}';
        }

        return call_user_func([$this->through, 'tableName']);
    }
public function getTableName()
    {
        if (!$this->through) {
            $parts = [
                TableNameResolver::getTableName($this->getTable()),
                TableNameResolver::getTableName($this->getRelatedTable()),
            ];
            sort($parts);

            return '{{%'.implode('_', $parts).'}}';
        }

        return call_user_func([$this->through, 'tableName']);
    }
public function getTableName ( ) { if ( ! $ this -> through ) { $ parts = [ TableNameResolver :: getTableName ( $ this -> getTable ( ) ) , TableNameResolver :: getTableName ( $ this -> getRelatedTable ( ) ) , ] ; sort ( $ parts ) ; return '{{%' . implode ( '_' , $ parts ) . '}}' ; } return call_user_func ( [ $ this -> through , 'tableName' ] ) ; }
Table name of the "link" table.

@return string
Table name of the link table .