Bitrix API

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

setFactory()

Set an instance of Factory that should be used in this object

public setFactory(Factory $factory) : void
Parameters
$factory : Factory

        
On this page

Search results