trait FactoryTrait

Methods

$this
factory(string|array $factory)

Sets a factory.

Details

at line 25
final $this factory(string|array $factory)

Sets a factory.

Parameters

string|array $factory A PHP callable reference

Return Value

$this