src/Core/Entry/ProteinEntry.php
public function setStart($position)
    {
        if (! is_int($position)) {
            throw new \InvalidArgumentException(
                'Argument 1 must be of type integer. Argument type is ' . gettype($position));
        }

        $this->start = $position;
    }
public function setStart($position)
    {
        if (! is_int($position)) {
            throw new \InvalidArgumentException(
                'Argument 1 must be of type integer. Argument type is ' . gettype($position));
        }

        $this->start = $position;
    }
public function setStart ( $ position ) { if ( ! is_int ( $ position ) ) { throw new \ InvalidArgumentException ( 'Argument 1 must be of type integer. Argument type is ' . gettype ( $ position ) ) ; } $ this -> start = $ position ; }
Sets the start position of the parent object inside the protein

@param int $position
@throws \InvalidArgumentException If argument is non-integer
Sets the start position of the parent object inside the protein