class InjectionCreator implements Factory (View source)

A class for creating new objects by the injector.

Methods

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

Creates a new service instance.

Details

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

Creates a new service instance.

Parameters

$class
array $params

The constructor parameters.

Return Value

object

The created service instances.