private function getOperatorConfiguration(array $operators): array
    {
        $conf = [];
        foreach ($operators as $operator => $leafType) {
            $instance = $this->types->getOperator($operator, $leafType);
            $field = [
                'name' => $this->getOperatorFieldName($operator),
                'type' => $instance,
            ];

            $conf[] = $field;
        }

        return $conf;
    }
private function getOperatorConfiguration(array $operators): array
    {
        $conf = [];
        foreach ($operators as $operator => $leafType) {
            $instance = $this->types->getOperator($operator, $leafType);
            $field = [
                'name' => $this->getOperatorFieldName($operator),
                'type' => $instance,
            ];

            $conf[] = $field;
        }

        return $conf;
    }
private function getOperatorConfiguration ( array $ operators ) : array { $ conf = [ ] ; foreach ( $ operators as $ operator => $ leafType ) { $ instance = $ this -> types -> getOperator ( $ operator , $ leafType ) ; $ field = [ 'name' => $ this -> getOperatorFieldName ( $ operator ) , 'type' => $ instance , ] ; $ conf [ ] = $ field ; } return $ conf ; }
Get operators configuration for a specific leaf type

@param LeafType[] $operators

@return array
Get operators configuration for a specific leaf type