class SilverStripeInjectionCreator implements Factory (View source)

Methods

public
SS_Object
create($class, array $params = array())

Creates a new service instance.

Details

SS_Object create($class, array $params = array())

Creates a new service instance.

Parameters

$class
array $params

The constructor parameters.

Return Value

SS_Object

The created service instances.