public function addColumn(string $name): void
    {
        if (!in_array($name, $this->columns, true)) {
            $this->columns[] = $name;
        }
    }
public function addColumn(string $name): void
    {
        if (!in_array($name, $this->columns, true)) {
            $this->columns[] = $name;
        }
    }
public function addColumn ( string $ name ) : void { if ( ! in_array ( $ name , $ this -> columns , true ) ) { $ this -> columns [ ] = $ name ; } }
Adds column to the key.
@param string $name
Adds column to the key .