src/Notation.php
public function withTargetColumnIndex(int $index): Notation
    {
        if (!$this->getTargetRow()) {
            throw new RuntimeException('No row has been set.');
        }

        $notation = chr(97 + $index) . $this->getTargetRow();

        return new self($notation);
    }
public function withTargetColumnIndex(int $index): Notation
    {
        if (!$this->getTargetRow()) {
            throw new RuntimeException('No row has been set.');
        }

        $notation = chr(97 + $index) . $this->getTargetRow();

        return new self($notation);
    }
public function withTargetColumnIndex ( int $ index ) : Notation { if ( ! $ this -> getTargetRow ( ) ) { throw new RuntimeException ( 'No row has been set.' ) ; } $ notation = chr ( 97 + $ index ) . $ this -> getTargetRow ( ) ; return new self ( $ notation ) ; }
Duplicates the notation with a column based on an index from 0 to 7.

@param int $index The index of the column to use.
@return Notation
@throws InvalidArgumentException Thrown when an invalid SAN value is created.
@throws RuntimeException Thrown when no target row is set.
Duplicates the notation with a column based on an index from 0 to 7 .