Neos.Media.Browser/Classes/Domain/ImageMapper.php
private function mapImage(): array
    {
        $previewUri = $this->resourceManager->getPublicPersistentResourceUri($this->image->getResource());

        return [
            'previewUri' => $previewUri,
            'width' => $this->image->getWidth(),
            'height' => $this->image->getHeight(),
            'persistenceIdentifier' => $this->persistenceManager->getIdentifierByObject($this->image)
        ];
    }
private function mapImage(): array
    {
        $previewUri = $this->resourceManager->getPublicPersistentResourceUri($this->image->getResource());

        return [
            'previewUri' => $previewUri,
            'width' => $this->image->getWidth(),
            'height' => $this->image->getHeight(),
            'persistenceIdentifier' => $this->persistenceManager->getIdentifierByObject($this->image)
        ];
    }
private function mapImage ( ) : array { $ previewUri = $ this -> resourceManager -> getPublicPersistentResourceUri ( $ this -> image -> getResource ( ) ) ; return [ 'previewUri' => $ previewUri , 'width' => $ this -> image -> getWidth ( ) , 'height' => $ this -> image -> getHeight ( ) , 'persistenceIdentifier' => $ this -> persistenceManager -> getIdentifierByObject ( $ this -> image ) ] ; }
Map the image object attached to this mapper to basic properties.

@return array
Map the image object attached to this mapper to basic properties .