Documentation

PropertySetFactory implements IPropertySetFactory

Can be used to create IPropertySet instances for a specific type of IModel

Table of Contents

$factory Property factory instance IPropertyFactory
$createPropertySet A supplier for creating IPropertySet instances. Closure
__construct() mixed
getPropertyFactory() Retrieve the IPropertyFactory instance IPropertyFactory
getCreatePropertySetSupplier() Retrieve the callback used for creating new IPropertySet instances Closure
createPropertySet() Using the suppliers defined in this object, create an IPropertySet instance. IPropertySet

Properties

$createPropertySet

A supplier for creating IPropertySet instances.

private Closure $createPropertySet
f( IPropertyFactory $factory, IPropertyConfig ...$config ) : IPropertySet

Methods

__construct()

public __construct( $factory : IPropertyFactory , $createPropertySet : Closure ) : mixed
Parameters
$factory : IPropertyFactory

Property Factory

$createPropertySet : Closure

A callback for creating IPropertySet instances. f( IPropertyFactory $factory, IPropertyConfig ...$config ) : IPropertySet

Return values
mixed

getCreatePropertySetSupplier()

Retrieve the callback used for creating new IPropertySet instances

public getCreatePropertySetSupplier( ) : Closure
Return values
Closure

f( IPropertyFactory $factory, IPropertyConfig ...$config ) : IPropertySet

Search results