protected function detectOperator()
    {
        if ($this->startsWith($this->version, self::GREATER_EQUAL))
        {
            $this->operator = self::GREATER_EQUAL;
            $this->version = substr($this->version, 2);
        }
        else if ($this->startsWith($this->version, self::GREATER))
        {
            $this->operator = self::GREATER;
            $this->version = substr($this->version, 1);
        }
        else if ($this->startsWith($this->version, self::TILDE))
        {
            $this->operator = self::TILDE;
            $this->version = substr($this->version, 1);
        }
    }