src/ImboClient/ImboClient.php
public function addImageFromString($image) {
        if (empty($image)) {
            throw new InvalidArgumentException('Specified image is empty');
        }

        return $this->getCommand('AddImage', array(
            'user' => $this->getUser(),
            'image' => $image,
        ))->execute();
    }
public function addImageFromString($image) {
        if (empty($image)) {
            throw new InvalidArgumentException('Specified image is empty');
        }

        return $this->getCommand('AddImage', array(
            'user' => $this->getUser(),
            'image' => $image,
        ))->execute();
    }
public function addImageFromString ( $ image ) { if ( empty ( $ image ) ) { throw new InvalidArgumentException ( 'Specified image is empty' ) ; } return $ this -> getCommand ( 'AddImage' , array ( 'user' => $ this -> getUser ( ) , 'image' => $ image , ) ) -> execute ( ) ; }
Add an image from memory

@param string $image An image in memory
@return Model
@throws InvalidArgumentException
Add an image from memory