Class CategoryListProviderFactory

Class CategoryListProviderFactory

This class creates CategoryListProvider objects for a specific language and filter of customer status permissions with its dependencies.

CategoryListProviderFactory implements CategoryListProviderFactoryInterface

Methods summary

public __construct( CategoryRepositoryInterface $categoryRepo, CI_DB_query_builder $db )

CategoryListProviderFactory constructor.

public createCategoryListProvider( LanguageCode $languageCode, array $conditions = array() ) : CategoryListProviderInterface

Creates a CategoryListProvider for retrieving lists.

Properties summary

protected $categoryRepo : CategoryRepositoryInterface

Category repository.


		
protected $db : CI_DB_query_builder

Database connector.