@absolunet/ioc2.1.0

View on GitHub

Factory

Model factory base class.

Members

(abstract) model :string

Source:
Name of the associated model.

Methods

(abstract) make(faker)

Source:
Factory model attributes.
Parameters:
Name Type Description
faker faker A Faker instance.
Returns:
The factoried model data.
Type
object