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

        $path .= '/'.$hash;

        $contents = $this
            ->call('GET', $path)
            ->getBody()
            ->getContents();

        return SourceImage::createFromJsonResponse($contents);
    }
public function getSourceImage($hash, $organization = '')
    {
        $path = self::SOURCEIMAGE_RESOURCE.'/'.$this->getOrganizationName($organization);

        $path .= '/'.$hash;

        $contents = $this
            ->call('GET', $path)
            ->getBody()
            ->getContents();

        return SourceImage::createFromJsonResponse($contents);
    }
public function getSourceImage ( $ hash , $ organization = '' ) { $ path = self :: SOURCEIMAGE_RESOURCE . '/' . $ this -> getOrganizationName ( $ organization ) ; $ path .= '/' . $ hash ; $ contents = $ this -> call ( 'GET' , $ path ) -> getBody ( ) -> getContents ( ) ; return SourceImage :: createFromJsonResponse ( $ contents ) ; }
Load a source image's metadata from Rokka.

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

@throws GuzzleException
@throws \RuntimeException

@return SourceImage
Load a source image s metadata from Rokka .