FactoryInjectable
Trait FactoryInjectable
Can be used to implement interface @see Contract\FactoryInjectable
Table of Contents
Methods
- getFactory() : Factory|null
- Returns an instance of Factory that is used in this object
- setFactory() : void
- Set an instance of Factory that should be used in this object
Methods
getFactory()
Returns an instance of Factory that is used in this object
public
getFactory() : Factory|null
Return values
Factory|nullsetFactory()
Set an instance of Factory that should be used in this object
public
setFactory(Factory $factory) : void
Parameters
- $factory : Factory