Trait HasFactories
A helper trait to make your implementation has a factory.
Direct Known Users
Namespace: Docotory\Traits
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docotory/Traits/HasFactories.php
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docotory/Traits/HasFactories.php
Methods summary
public
mixed
|
|
protected
boolean
|
|
public
boolean
|
|
public
|
#
registerFactory( string $factory, string $containerAccessor, boolean $replace = false )
Register your factory |
public
|
#
registerFactories( array $factories, boolean $replace = false )
Register your factory from key / value pair array |
public
array
|
Properties summary
protected
array
|
$factories
A key / value pair array of your registered factories |
#
[]
|
protected
array
|
$resolvedFactories
A key / value pair array of your resolved factories |
#
[]
|