public function setPadding($padding = 0) {
		$padding = $this->parseSizes($padding);

		foreach ($padding as $side => $value) {
			if (! is_int($value) || $value < 0) {
				throw new InvalidArgumentException(sprintf(
					'Invalid %s padding: "%s". Must be a positive integer value.',
					$side, $value
				));
			}

			$this->padding[$side] = $value;
		}
	}
public function setPadding($padding = 0) {
		$padding = $this->parseSizes($padding);

		foreach ($padding as $side => $value) {
			if (! is_int($value) || $value < 0) {
				throw new InvalidArgumentException(sprintf(
					'Invalid %s padding: "%s". Must be a positive integer value.',
					$side, $value
				));
			}

			$this->padding[$side] = $value;
		}
	}
public function setPadding ( $ padding = 0 ) { $ padding = $ this -> parseSizes ( $ padding ) ; foreach ( $ padding as $ side => $ value ) { if ( ! is_int ( $ value ) || $ value < 0 ) { throw new InvalidArgumentException ( sprintf ( 'Invalid %s padding: "%s". Must be a positive integer value.' , $ side , $ value ) ) ; } $ this -> padding [ $ side ] = $ value ; } }
Sets style padding.

@param array|int $padding The padding value/s
Sets style padding .