Class CustomerGroupAccessRepository

Class CustomerGroupAccessRepository

CustomerGroupAccessRepository implements CustomerGroupAccessRepositoryInterface

Methods summary

public __construct( CustomerGroupFactory $factory, CustomerGroupReaderInterface $reader, LanguageProvider $languageProvider )

CustomerGroupAccessRepository constructor.

public getAll( void ) : CustomerGroupCollection

Returns all customer group as collection.

public getById( IntType $id ) : CustomerGroup

Returns customer group entity by given id.

public create( void ) : CustomerGroup

creates customer group entity.

protected _createSettings( array $dataSet ) : CustomerGroupSettings

Creates with given array an CustomerGroupSetting

protected _createConfigurations( array $dataSet ) : CustomerGroupConfigurations

Creates with given array an CustomerGroupConfiguration