SetaPDF_Signer_InformationResolver_Manager Manager for information resolver instances.
File: /SetaPDF v2/Signer/InformationResolver/Manager.php
Class hierarchy
Summary
Properties
$_logger
protected SetaPDF_Signer_ValidationRelatedInfo_LoggerInterface SetaPDF_Signer_InformationResolver_Manager::$_logger
A logger instance.
$_resolvers
protected SetaPDF_Signer_InformationResolver_ResolverInterface[] SetaPDF_Signer_InformationResolver_Manager::$_resolvers = array()
All resolvers.
Methods
addResolver()
Add a resolver instance.
Parameters
getLogger()
public SetaPDF_Signer_InformationResolver_Manager::getLogger (
void
): SetaPDF_Signer_ValidationRelatedInfo_LoggerInterfaceGet the logger instance.
If no logger instance was passed before a new instance of SetaPDF_Signer_ValidationRelatedInfo_Logger
is
returned.
getResolvers()
public SetaPDF_Signer_InformationResolver_Manager::getResolvers (
void
): SetaPDF_Signer_InformationResolver_ResolverInterface[]Get all registered resolvers.
resolve()
Resolve the given URI by the first accepting resolver instance.
Parameters
- $uri : string
Return Values
An array where index 0 is the content-type and 1 is the content itself.
Exceptions
Throws SetaPDF_Signer_InformationResolver_NoResolverFoundException
setLogger()
Set a logger instance.