1 <?php declare(strict_types=1);
34 $this->consumer_factory = $cf;
35 $this->resource_builder = $r;
40 return $this->consumer_factory->download($this->resource_builder->get($identification));
45 return $this->consumer_factory->inline($this->resource_builder->get($identification));
50 return $this->consumer_factory->fileStream($this->resource_builder->get($identification));
55 return $this->consumer_factory->src($this->resource_builder->get($identification));
download(ResourceIdentification $identification)
Interface Identification.
__construct(ConsumerFactory $cf, ResourceBuilder $r)
Consumers constructor.
src(ResourceIdentification $identification)
stream(ResourceIdentification $identification)