Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\Core\QueryType\QueryTypeRegistry Interface Reference

Registry of QueryType objects. More...

Inheritance diagram for eZ\Publish\Core\QueryType\QueryTypeRegistry:

## Public Member Functions
| addQueryType ($name, QueryType $queryType)
| Registers $queryType as $name. More...
| addQueryTypes (array $queryTypes)
| Registers QueryTypes from the $queryTypes array. More...
| getQueryType ($name)
| Get the QueryType $name. More...

## Detailed Description

Registry of QueryType objects.

Definition at line 12 of file QueryTypeRegistry.php.

## Member Function Documentation

## ◆ addQueryType()

eZ\Publish\Core\QueryType\QueryTypeRegistry::addQueryType | ( |  | $name,
|  | QueryType | $queryType
| ) |  |

Registers $queryType as $name.

Parameters

  string | $name |
  \eZ\Publish\Core\QueryType\QueryType | $queryType |

Implemented in eZ\Publish\Core\QueryType\ArrayQueryTypeRegistry.

## ◆ addQueryTypes()

eZ\Publish\Core\QueryType\QueryTypeRegistry::addQueryTypes | ( | array | $queryTypes | ) |

Registers QueryTypes from the $queryTypes array.

Parameters

  \eZ\Publish\Core\QueryType\QueryType[] | $queryTypes | An array of QueryTypes, with their name as the index

Implemented in eZ\Publish\Core\QueryType\ArrayQueryTypeRegistry.

## ◆ getQueryType()

eZ\Publish\Core\QueryType\QueryTypeRegistry::getQueryType | ( |  | $name | ) |

Get the QueryType $name.

Parameters

  string | $name |

Returns
  \eZ\Publish\Core\QueryType\QueryType

Implemented in eZ\Publish\Core\QueryType\ArrayQueryTypeRegistry.

The documentation for this interface was generated from the following file:

- QueryTypeRegistry.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.