CanUseFactory
Interface CanUseFactory
Class that implements this interface uses @see Factory and a concreate instance of factory can be set externaly
Table of Contents
Methods
- getFactory() : Factory|null
- Get an instance of factory that is used in this object
- setFactory() : void
- Set an instance of factory that will be used in this object
Methods
getFactory()
Get an instance of factory that is used in this object
public
getFactory() : Factory|null
Return values
Factory|nullsetFactory()
Set an instance of factory that will be used in this object
public
setFactory(Factory $factory) : void
Parameters
- $factory : Factory