package | GlotPress |
---|
__construct(object $factory, object $thing, array $default_generation_definitions = array()
)
object
GLobal factory that can be used to create other objects on the system
object
Instance of a GP_Thing subclass. This factory will create objects of this type
array
Defines what default values should the properties of the object have. The default values can be generators -- an object with next() method. There are some default generators: {@link GP_UnitTest_Generator_Sequence}, {@link GP_UnitTest_Generator_Locale_Name}, {@link GP_UnitTest_Factory_Callback_After_Create}.
apply_callbacks($callbacks, $created)
callback($function)
create($args= array()
, $generation_definitions= null
)
generate_args($args= array()
, $generation_definitions= null
, $callbacks= null
)
$default_generation_definitions
$factory
$thing