19declare(strict_types=1);
41 return $this->flavour;
47 return $this->flavour->getPersistingName();
53 return $this->flavour->getName();
59 return $this->flavour->getResourceId();
65 return $this->flavour->getDefinition();
71 return $this->flavour->getRevision();
81 $this->streams = array_filter(
89 foreach (
$streams as $index => $stream) {
97 $this->streams[$index] = $stream;
104 return $this->streams[$index] ??
null;
setStreams(array $streams)
filterStreams(\Closure $filter)
@description Filter Streams with a Closure which accepts a FileStream and returns bool
getPersistingName()
Flavours are stored in the file system by the StroageHandler.
__construct(protected Flavour $flavour)
addStream(int $index, FileStream $stream)
Class ResourceIdentification.
The base interface for all filesystem streams.