Property | Type | Description | |
---|---|---|---|
$calls | array | ||
$count | integer | ||
$logCalls | boolean | ||
$unCachedHandlers | array |
Method | Description | |
---|---|---|
__construct ( boolean $logCalls = true ) | ||
getCalls ( ) : array | ||
getCount ( ) : integer | ||
getLoadedUnCachedHandlers ( ) : array | ||
getName ( ) : string | ||
isCallsLoggingEnabled ( ) : boolean | ||
logCall ( string $method, array $arguments = [] ) | Log SPI calls with method name and arguments until $maxLogCalls is reached. | |
logUnCachedHandler ( string $handler ) | Log uncached handler being loaded. |
public __construct ( boolean $logCalls = true ) | ||
$logCalls | boolean | Flag to enable logging of calls or not, should be disabled in prod |
public logUnCachedHandler ( string $handler ) | ||
$handler | string |