Sets the thickness.

@param int $thickness
191533
public function setThickness($thickness) {
        $thickness = intval($thickness);
        if ($thickness <= 0) {
            throw new CINArgumentException('The thickness must be larger than 0.', 'thickness');
        }

        $this->thickness = $thickness;
    }
1199560
public function setContent($content)
    {

        if ($content instanceof FileInterface) {
            $content = $content->load();
        }

        if (is_file($content) && is_readable($content)) {
            $content = file_get_contents($content);
        }

        $this->rawContent = $content;
        $this->parser->setContent($this->rawContent);
    }
313637
protected function setDetail($detail)
    {
        if (0 === strlen(trim($detail))) {
            throw new \InvalidArgumentException('Provided error message cannot be empty');
        }

        $this->detail = (string) $detail;
    }
1312841
public function setContent($content): void
    {
        try {
            $this->content = value($content);
        } catch (\Exception $e) {
            $this->content = $e->getMessage();
        }
    }
648457
public function setMode($mode)
    {
        Validate::isString($mode, 'mode');
        Validate::isTrue(Mode::isValid($mode), Resources::INVALID_CHANGE_MODE_MSG);

        $this->_mode = $mode;
    }
892715
public function setLength($length)
    {
        $this->length = $length;
        if ($this->length !== null && $this->length < 0) {
            throw new BuildException('Cannot truncate to length ' . $this->length);
        }
    }
57504
function setDimensions($x, $y)
    {
        $this->max_x = $x - 1;
        $this->max_y = $y - 1;
        $this->x = $this->y = 0;
        $this->history = $this->history_attrs = array();
        $this->attr_row = array_fill(0, $this->max_x + 2, $this->base_attr_cell);
        $this->screen = array_fill(0, $this->max_y + 1, '');
        $this->attrs = array_fill(0, $this->max_y + 1, $this->attr_row);
        $this->ansi = '';
    }
392918
public function setWidth($width)
    {
        if (is_int($width) === true) {
            $this->width = $width;
        } else {
            $msg = "The 'width' argument must be an integer, '" . gettype($width) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
753153
public function setPass(/* string */ $pass) {
		// Close connection before changing password.
		if ($this->pass !== $pass) {
			$this->close();
			$this->pass = $pass;
		}
	}
498430
public function setSize(Dimension $dimension)
    {
        return $this->setWidth($dimension->getWidth())
                        ->setHeight($dimension->getHeight());
    }
582644
public function setTotal($total)
    {
        $this->total = (int) $total;

        if ($this->total < 1) {
            $this->total = 1;
        }

        if ($this->page < 1) {
            $this->page = 1;
        } elseif ($this->page > $this->total) {
            $this->page = $this->total;
        }
    }
308781
public function Set( $Buffer )
		{
			$this->Buffer   = $Buffer;
			$this->Length   = StrLen( $Buffer );
			$this->Position = 0;
		}
1205585
public function setValue($value) {
		if($value instanceof Value) {
			$value = $value->getRawValue();
		}
		foreach($this->inputs as $inflector) {
			$value = $inflector($value);
		}
		$this->value = $value;
	}
506988
public function setWidth($width)
    {
        if ((is_int($width) && $width === -1) || Format::isXhtmlLength($width) === true) {
            $this->width = $width;
        } else {
            $msg = "The 'width' argument must be a valid XHTML length value, '" . $width . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
1191116
public function setWidth($width){
        if(!is_int($width)){
            throw new \Exception("Falscher Dateityp (".gettype($width).") integer expected!");
        }
        $this->width = $width;
        return true;
    }
214570
public function setContiguous($contiguous = false)
    {
        $this->contiguous = (bool) $contiguous;
        if (!$contiguous) {
            $this->contiguousRow = -1;
        }

        return $this;
    }
367857
public function setQuiet($quiet)
    {
        $this->output->setQuiet($quiet);
        $this->errorOutput->setQuiet($quiet);
    }