SetRegistry

Attributes
#[Autoconfigure]
$public: true

Table of Contents

Properties

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

Methods

__construct()  : mixed
getAllSets()  : array<string, SetDefinition>
getInvalidSets()  : array<string, SetError, name: string, context: string}>
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()'

$invalidSets

protected array<string, SetError, name: string, context: string}> $invalidSets = null

Methods

getInvalidSets()

public getInvalidSets() : array<string, SetError, name: string, context: string}>
Return values
array<string, SetError, name: string, context: string}>

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