BuilderFactory
Table of Contents
- $builders : Map
- $generator : ModelGenerator
- __construct() : mixed
- getBuilder() : AbstractBuilder
- Returns the related builder for the given model.
Properties
$builders
private
Map
$builders
$generator
private
ModelGenerator
$generator
Methods
__construct()
public
__construct(ModelGenerator $generator) : mixed
Parameters
- $generator : ModelGenerator
Return values
mixed —getBuilder()
Returns the related builder for the given model.
public
getBuilder(AbstractModel $model) : AbstractBuilder
Parameters
- $model : AbstractModel