src/Image.php
public function getSourceImageContents($hash, $organization = '')
    {
        $path = implode('/', [
            self::SOURCEIMAGE_RESOURCE,
            $this->getOrganizationName($organization),
            $hash,
            'download', ]
        );

        return $this
            ->call('GET', $path)
            ->getBody()
            ->getContents();
    }
public function getSourceImageContents($hash, $organization = '')
    {
        $path = implode('/', [
            self::SOURCEIMAGE_RESOURCE,
            $this->getOrganizationName($organization),
            $hash,
            'download', ]
        );

        return $this
            ->call('GET', $path)
            ->getBody()
            ->getContents();
    }
public function getSourceImageContents ( $ hash , $ organization = '' ) { $ path = implode ( '/' , [ self :: SOURCEIMAGE_RESOURCE , $ this -> getOrganizationName ( $ organization ) , $ hash , 'download' , ] ) ; return $ this -> call ( 'GET' , $ path ) -> getBody ( ) -> getContents ( ) ; }
Get a source image's binary contents from Rokka.

@param string $hash         Hash of the image
@param string $organization Optional organization name

@throws GuzzleException
@throws \RuntimeException

@return string
Get a source image s binary contents from Rokka .