Class

eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerRegistry

class URLHandlerRegistry implements URLHandlerRegistryInterface

Methods

__construct()

URLHandlerRegistry constructor.

addHandler(string $scheme, URLHandlerInterface $handler)

Adds scheme handler.

bool supported(string $scheme)

Is scheme supported ?

URLHandlerInterface getHandler(string $scheme)

Returns handler for scheme.

Details

at line 21
public __construct()

URLHandlerRegistry constructor.

at line 29
public addHandler(string $scheme, URLHandlerInterface $handler)

Adds scheme handler.

Parameters

string $scheme
URLHandlerInterface $handler

at line 37
public bool supported(string $scheme)

Is scheme supported ?

Parameters

string $scheme

Return Value

bool

at line 45
public URLHandlerInterface getHandler(string $scheme)

Returns handler for scheme.

Parameters

string $scheme

Return Value

URLHandlerInterface