SetRegistry

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Properties

$cache  : PhpFrontend
$cacheIdentifier  : string
$dependencyOrderingService  : DependencyOrderingService
$logger  : LoggerInterface
$orderedSets  : array<int, SetDefinition>|null
$setCollector  : SetCollector

Methods

__construct()  : mixed
getSet()  : SetDefinition|null
getSets()  : array<int, SetDefinition>
Retrieve list of ordered sets, matched by $setNames, including their dependencies (recursive)
hasSet()  : bool
warmupCaches()  : void
computeOrderedSets()  : array<string, SetDefinition>
getFromCache()  : array<string, SetDefinition>
getOrderedSets()  : array<string, SetDefinition>
hasDependency()  : bool

Properties

$cacheIdentifier read-only

protected string $cacheIdentifier
Attributes
#[Autowire]
$expression: 'service("package-dependent-cache-identifier").withPrefix("Sets").toString()'

Methods

getSets()

Retrieve list of ordered sets, matched by $setNames, including their dependencies (recursive)

public getSets(string ...$setNames) : array<int, SetDefinition>
Parameters
$setNames : string
Return values
array<int, SetDefinition>

hasSet()

public hasSet(string $setName) : bool
Parameters
$setName : string
Return values
bool

hasDependency()

protected hasDependency(array<string|int, mixed> $setNames, string $dependency) : bool
Parameters
$setNames : array<string|int, mixed>
$dependency : string
Return values
bool

        
On this page

Search results