public function loadToString($image)
    {
        $srcStorage = $this->getImageStorage($image);
        if ($srcStorage !== DriverInterface::IMAGE_STORAGE_STRING) {
            $image = @file_get_contents($image);
            if (false === $image) {
                throw new Exception\RuntimeException('could not load image');
            }
        }
        return $image;
    }
public function loadToString($image)
    {
        $srcStorage = $this->getImageStorage($image);
        if ($srcStorage !== DriverInterface::IMAGE_STORAGE_STRING) {
            $image = @file_get_contents($image);
            if (false === $image) {
                throw new Exception\RuntimeException('could not load image');
            }
        }
        return $image;
    }
public function loadToString ( $ image ) { $ srcStorage = $ this -> getImageStorage ( $ image ) ; if ( $ srcStorage !== DriverInterface :: IMAGE_STORAGE_STRING ) { $ image = @ file_get_contents ( $ image ) ; if ( false === $ image ) { throw new Exception \ RuntimeException ( 'could not load image' ) ; } } return $ image ; }
Load image to string

@param string $image
@return string
Load image to string