19declare(strict_types=1);
46 return hash(
'crc32', $this->
getName());
51 return $this->definition->getInternalName() . $this->definition->getVariantName();
56 return $this->resource_id;
61 $this->stream_resolvers[$index] = $stream_resolver;
68 return $this->stream_resolvers[$index] ??
null;
81 return $this->definition;
86 return $this->revision;
getPersistingName()
Flavours are stored in the file system by the StroageHandler.
maybeStreamResolver(int $index)
__construct(private FlavourDefinition $definition, private ResourceIdentification $resource_id, private int $revision)
withStreamResolver(int $index, ?StreamResolver $stream_resolver=null)
Class ResourceIdentification.