public function setAcceptedBaseTypes(array $acceptedBaseTypes)
    {
        foreach ($acceptedBaseTypes as $baseType) {
            if (!in_array($baseType, OperatorBaseType::asArray(), true)) {
                $msg = "Accepted baseTypes must be values from the OperatorBaseType enumeration, '" . $baseType . "' given.";
                throw new InvalidArgumentException($msg);
            }
        }

        $this->acceptedBaseTypes = $acceptedBaseTypes;
    }