Set image resource

@param    $value resource
@return PHPExcel_Worksheet_MemoryDrawing
486292
public function setImageResource($value = null)
    {
        $this->imageResource = $value;

        if (!is_null($this->imageResource)) {
            // Get width/height
            $this->width  = imagesx($this->imageResource);
            $this->height = imagesy($this->imageResource);
        }
        return $this;
    }
128477
public function setCoreXhtmlUrls($value)
    {
        $this->setFieldName('xhtml_urls');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
112942
public function parse($value)
    {
        switch (true) {

            case is_string($value):
                $this->initFromString($value);
                break;

            case is_int($value):
                $this->initFromInteger($value);
                break;

            case is_array($value):
                $this->initFromArray($value);
                break;

            case is_object($value):
                $this->initFromObject($value);
                break;

            case is_null($value):
                $this->initFromArray([255, 255, 255, 0]);
                break;

            default:
                throw new \Intervention\Image\Exception\NotReadableException(
                    "Color format ({$value}) cannot be read."
                );
        }

        return $this;
    }
1044992
public function setValue($value=null) :self {
		// append by default or replace html
		$this->attributes['value'] = Format::htmlSafe($value);
		// return self
		return($this);
	}
896529
public function setValue($value)
    {
        switch (true) {
            case ($this instanceof Select):
                if (! is_array($value)) {
                    $value = (array) $value;
                }

                $this->value = $value;
                break;
            case ($this instanceof Textarea):
                $this->inner = $value;
                break;
            default:
                $this->attribute['value'] = $value;
                break;
        }

        return $this;
    }
478870
public function setValue($value)
    {
        $this->_value = $value;
        $this->getInput()->setValue($value);
        return $this;
    }
601988
public static function setWrapText($range=NULL, $value=true)
    {
        $sheetObj = self::validSheetObj();

        $range = ($range) ? $range : self::getRangeAll();

        $sheetObj->getStyle($range)
            ->getAlignment()
            ->setWrapText($value); 
        
        return new static();
    }
855780
public function setRootImage( $value )
    {
        $content = $this->getDependentContent();

        if ( $content )
        {
            $content->leadImage = $value;
        }

        return $this;
    }
80565
public function offsetSet($offset, $value)
    {
        if (!$value instanceof IconImage) {
            throw new \InvalidArgumentException('Can only add IconImage instances to an Icon');
        }
        if (is_null($offset)) {
            $this->images[] = $value;
        } else {
            $this->images[$offset] = $value;
        }
    }
586931
protected function setValue($value)
    {
        if (!isset($this->value) || null === $this->value) {
            $this->value = $value;
        }

        return $this;
    }
163460
public function removePersonImageVersion($value)
    {
        $targetArray = array();
        foreach ($this->getPersonImageVersions() as $element) {
            if ($element != $value) {
                $targetArray []= $element;
            }
        }
        $this->setPersonImageVersions($targetArray);

        return $this;
    }
13221
public function setFormat($value = null)
    {
        if ($value != null) {
            $this->_params['format'] = $value;
        } else {
            unset($this->_params['format']);
        }
        return $this;
    }
848806
public function setCorePhpthumbCacheMaxage($value)
    {
        $this->setFieldName('phpthumb_cache_maxage');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
246626
function set($value, $clone = true)
    {
        if ($clone && is_object($value) && !$value instanceof \Exception){
            $this->value = clone $value;
        }else{
            $this->value = $value;
        }
        $this->format = null;
        return $this;
    }
821277
public function setValue($value)
    {
        NumericValidator::validate($value, "Value");
        $value = Formatter::formatToPrice($value, $this->getCurrency());
        $this->value = $value;
        return $this;
    }
170698
public function setCoreUploadMaxsize($value)
    {
        $this->setFieldName('upload_maxsize');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1010326
public function setValue($value) : parent
    {
        if (!is_array($value)) {
            $value = [$value];
        }

        foreach ($value as $current) {
            if (!$current instanceof \Cawa\Http\File && !is_null($current)) {
                throw new \LogicException(sprintf(
                    "File '%s' value must be an instance of \\Cawa\\Http\\File, '%s' given",
                    $this->getName(),
                    is_object($current) ? get_class($current) : gettype($current)
                ));
            }
        }

        $this->value = $value;

        return $this;
    }