public function findOperator($name)
    {
        $operator = ucfirst($name);
        foreach (array_keys($this->operatorNamespaces) as $namespace) {
            $class = $namespace . '\\' . $operator;
            if (class_exists($class)) {
                return $class;
            }
        }

        throw new \LogicException(sprintf('Unknown operator: "%s"', $name));
    }
public function findOperator($name)
    {
        $operator = ucfirst($name);
        foreach (array_keys($this->operatorNamespaces) as $namespace) {
            $class = $namespace . '\\' . $operator;
            if (class_exists($class)) {
                return $class;
            }
        }

        throw new \LogicException(sprintf('Unknown operator: "%s"', $name));
    }
public function findOperator ( $ name ) { $ operator = ucfirst ( $ name ) ; foreach ( array_keys ( $ this -> operatorNamespaces ) as $ namespace ) { $ class = $ namespace . '\\' . $ operator ; if ( class_exists ( $ class ) ) { return $ class ; } } throw new \ LogicException ( sprintf ( 'Unknown operator: "%s"' , $ name ) ) ; }
Find an operator in the registered operator namespaces.

@throws \LogicException If a matching operator is not found.

@param string $name

@return string
Find an operator in the registered operator namespaces .