public function renderName(TableStructure $table): string
    {
        if ($this->name === null || is_numeric($this->name)) {
            return "fk-{$table->name}-" . implode('-', $this->columns);
        }

        return $this->name;
    }
public function renderName(TableStructure $table): string
    {
        if ($this->name === null || is_numeric($this->name)) {
            return "fk-{$table->name}-" . implode('-', $this->columns);
        }

        return $this->name;
    }
public function renderName ( TableStructure $ table ) : string { if ( $ this -> name === null || is_numeric ( $ this -> name ) ) { return "fk-{$table->name}-" . implode ( '-' , $ this -> columns ) ; } return $ this -> name ; }
Renders key name.
@param TableStructure $table
@return string
Renders key name .