Sets active page size for the current context.

@param int $size
@return $this
487437
public function setPageSize($size)
    {
        if ( ! $size) {
            return $this->clearPageSize();
        }

        session()->put($this->getSessionKey(static::TYPE_PAGESIZE), $size);

        return $this;
    }
229141
public function setSize($size)
    {
        $this->getColumns()->each(function (ColumnInterface $column) use ($size) {
            $column->setSize($size);
        });
    }
1286107
public function size(string $size): self
    {
        $comparator = new Comparator\NumberComparator($size);
        $filter = new Iterator\SizeRangeFilterIterator($this->getIterator(), [$comparator]);

        return new self(iterator_to_array($filter));
    }
1014796
public function displayNone($size = null)
    {
        if (empty($size)) {
            $this->attributes->addAttributeClass('d-none');
        } elseif (in_array($size, ['xs', 'sm', 'md', 'lg', 'xl'])) {
            $this->attributes->addAttributeClass('d-' . $size . '-none');
        }

        return $this;
    }
32183
public function size( $size ) {
		$this->width  = (int) $size;
		$this->height = (int) $size;

		return $this;
	}
790166
public function setSize($size)
    {
        if (!is_int($size)) {
            throw new \InvalidArgumentException('The attribute size on the class Attribute has to be integer (' . gettype($size) . ('object' === gettype($size) ? ' ' . get_class($size) : '') . ' given).');
        }

        $this->size = $size;

        return $this;
    }
1230391
public function setPageSize($pageSize)
    {
        $formattedPageSize = ucfirst(strtolower($pageSize));

        $this->checkPageSize($formattedPageSize);

        $this->pageSize = $formattedPageSize;

        return $this;
    }
655406
public function zoomHeightTo($size) {
		$ratio = round($this->height / $size, 3);
		$this->resize($this->width / $ratio, $size);
		return $this;
	}
149008
public function displayInline($size = null)
    {
        if (empty($size)) {
            $this->attributes->addAttributeClass('d-inline');
        } elseif (in_array($size, ['xs', 'sm', 'md', 'lg', 'xl'])) {
            $this->attributes->addAttributeClass('d-' . $size . '-inline');
        }

        return $this;
    }
16680
public function size($size = null)
    {
        if (!in_array($size, self::SIZES)) {
            Checkers::notice('Button size error, size [' . $size . '] unknown');
            $this->size = self::SIZE_NORMAL;
        } else {
            $this->size = $size;
        }
        return $this;
    }
343546
protected function updateSize($size) {
		$size = sprintf('%' . self::SHM_DATA_OFFSET . 'd', intval($size));
		return !!$this->write(0, $size);
	}
976512
public function page($page, $size = 25)
    {
        if (($page = (int) $page) < 0) 
        {
            $page = 0;
        }

        $this->limit = (int) $size;
        $this->offset = (int) $size * $page;

        return $this;
    }
1217544
public function floatRight($size = null)
    {
        if (empty($size)) {
            $this->attributes->addAttributeClass('float-right');
        } elseif (in_array($size, ['xs', 'sm', 'md', 'lg', 'xl'])) {
            $this->attributes->addAttributeClass('float-' . $size . '-right');
        }

        return $this;
    }
627948
public final function setWidth( int $width ) : Size
   {

      $this->triggerFixedErrorByNeed( 'width-change' );

      $this->_width = \max( $width, 0 );

      return $this;

   }
897628
public function setSize($size)
    {
        if (!is_numeric($size) || $size < 1) {
            throw new \InvalidArgumentException(
                "An invalid identicon size was specified. ".
                "A numeric value >= 1 was expected. Specified value: $size.");
        }
        
        $this->size = (int)$size;
    }
774659
public function setSize($width = 0, $height = 0)
    {
        if (!empty($width) && !empty($height)) {
            $this->width = $this->boxWidth = $width;
            $this->height = $this->boxHeight = $height;
        }

        return $this;
    }
1076603
public function pad($size, $value)
    {
        $this->items = \array_pad($this->items, $size, $value);

        return $this;
    }