Factory
abstract class Factory (View source)
Properties
| protected array | $state | Change key-value pairs in the definition |
Methods
array
definition()
Define a factory definition for online mall companies
array
create()
Create definition(s) with the given state and count