class AuditFactory implements Factory (View source)

Logs are written using a side-channel, because audit trail should not be mixed up with regular PHP errors.

Methods

public
SS_Object
create(string $service, array $params = array())

Creates a new service instance.

Details

SS_Object create(string $service, array $params = array())

Creates a new service instance.

Parameters

string $service

The class name of the service.

array $params

The constructor parameters.

Return Value

SS_Object

The created service instances.