Adldap\Connections\Provider::newModelFactory PHP Method

newModelFactory() protected method

Creates a new model factory.
protected newModelFactory ( Builder $builder, Adldap\Schemas\SchemaInterface $schema ) : Factory
$builder Adldap\Query\Builder
$schema Adldap\Schemas\SchemaInterface
return Adldap\Models\Factory
    protected function newModelFactory(Builder $builder, SchemaInterface $schema)
    {
        return new ModelFactory($builder, $schema);
    }