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

Public Member Functions | Private Attributes | List of all members
eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry Class Reference
Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry:

## Public Member Functions
| __construct ()
| URLHandlerRegistry constructor. More...
| addHandler ($scheme, URLHandlerInterface $handler)
  | {Adds scheme handler. Parameters
  string | $scheme |
  \eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerInterface | $handler |
} More...
| supported ($scheme)
  | {Is scheme supported ? Parameters
  string | $scheme |
Returns bool } More...
| getHandler ($scheme)
  | {Returns handler for scheme. Parameters
  string | $scheme |
  Returns \eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerInterface Exceptions
} More...

## Private Attributes
| $handlers = []

## Detailed Description

Definition at line 11 of file URLHandlerRegistry.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry::__construct | ( |  | ) |

URLHandlerRegistry constructor.

Definition at line 19 of file URLHandlerRegistry.php.

## Member Function Documentation

## ◆ addHandler()

eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry::addHandler | ( |  | $scheme,
|  | URLHandlerInterface | $handler
| ) |  |

{Adds scheme handler.

Parameters

  string | $scheme |
  \eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerInterface | $handler |

}

Implements eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistryInterface.

Definition at line 27 of file URLHandlerRegistry.php.

## ◆ getHandler()

eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry::getHandler | ( |  | $scheme | ) |

{Returns handler for scheme.

Parameters

  string | $scheme |

Returns
  \eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerInterface

Exceptions

}

Implements eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistryInterface.

Definition at line 43 of file URLHandlerRegistry.php.

References eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry\supported().

## ◆ supported()

eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry::supported | ( |  | $scheme | ) |

{Is scheme supported ?

Parameters

  string | $scheme |

Returns
  bool

}

Implements eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistryInterface.

Definition at line 35 of file URLHandlerRegistry.php.

Referenced by eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry\getHandler().

## Member Data Documentation

## ◆ $handlers

eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry::$handlers = []
| private

Definition at line 14 of file URLHandlerRegistry.php.

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

- URLHandlerRegistry.php

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