CategoryRegistry
Table of Contents
Properties
Methods
- __construct() : mixed
- getCategories() : array<int, Category>
- Retrieve list of instantiated categories for the list of provided $setNames, including their dependencies (recursive)
Properties
$setRegistry
protected
SetRegistry
$setRegistry
Methods
__construct()
public
__construct(SetRegistry $setRegistry) : mixed
Parameters
- $setRegistry : SetRegistry
getCategories()
Retrieve list of instantiated categories for the list of provided $setNames, including their dependencies (recursive)
public
getCategories(string ...$setNames) : array<int, Category>
Parameters
- $setNames : string