src/ImboClient/ImboClient.php
public function getImageUrl($imageIdentifier) {
        if (empty($imageIdentifier)) {
            throw new InvalidArgumentException('Missing image identifier');
        }

        $url = sprintf(
            $this->getHostForImageIdentifier($imageIdentifier) . '/users/%s/images/%s',
            $this->getUser(),
            $imageIdentifier
        );

        return Http\ImageUrl::factory(
            $url,
            $this->getConfig('privateKey'),
            $this->getPublicKey()
        );
    }
public function getImageUrl($imageIdentifier) {
        if (empty($imageIdentifier)) {
            throw new InvalidArgumentException('Missing image identifier');
        }

        $url = sprintf(
            $this->getHostForImageIdentifier($imageIdentifier) . '/users/%s/images/%s',
            $this->getUser(),
            $imageIdentifier
        );

        return Http\ImageUrl::factory(
            $url,
            $this->getConfig('privateKey'),
            $this->getPublicKey()
        );
    }
public function getImageUrl ( $ imageIdentifier ) { if ( empty ( $ imageIdentifier ) ) { throw new InvalidArgumentException ( 'Missing image identifier' ) ; } $ url = sprintf ( $ this -> getHostForImageIdentifier ( $ imageIdentifier ) . '/users/%s/images/%s' , $ this -> getUser ( ) , $ imageIdentifier ) ; return Http \ ImageUrl :: factory ( $ url , $ this -> getConfig ( 'privateKey' ) , $ this -> getPublicKey ( ) ) ; }
Get a URL for the image resource

@throws InvalidArgumentException
@param string $imageIdentifier An image identifier
@return Http\ImageUrl
Get a URL for the image resource