PHP Class fXmlRpc\Timing\ZendFrameworkTwoTimerBridge

Inheritance: extends AbstractTimerBridge
Datei anzeigen Open project: lstrojny/fxmlrpc Class Usage Examples

Public Methods

Method Description
__construct ( Zend\Log\LoggerInterface $logger, string $method = null, string $messageTemplate = null ) Create new Zend\Log\LoggerInterface bridge
recordTiming ( $callTime, $method, array $arguments )

Method Details

__construct() public method

Allows passing custom log level and message template (with sprintf() control characters) for log message customization
public __construct ( Zend\Log\LoggerInterface $logger, string $method = null, string $messageTemplate = null )
$logger Zend\Log\LoggerInterface
$method string
$messageTemplate string

recordTiming() public method

public recordTiming ( $callTime, $method, array $arguments )
$arguments array