Neos\Media\Domain\Model\ImageVariant::renderResource PHP Метод

renderResource() защищенный Метод

Tells the ImageService to render the resource of this ImageVariant according to the existing adjustments.
protected renderResource ( ) : void
Результат void
    protected function renderResource()
    {
        $processedImageInfo = $this->imageService->processImage($this->originalAsset->getResource(), $this->adjustments->toArray());
        $this->resource = $processedImageInfo['resource'];
        $this->width = $processedImageInfo['width'];
        $this->height = $processedImageInfo['height'];
        $this->persistenceManager->whiteListObject($this->resource);
    }