| @@ 230-240 (lines=11) @@ | ||
| 227 | return $this; |
|
| 228 | } |
|
| 229 | ||
| 230 | public function setPadding(int $topBottom, int $leftRight = null) : self |
|
| 231 | { |
|
| 232 | if ($leftRight === null) { |
|
| 233 | $leftRight = $topBottom; |
|
| 234 | } |
|
| 235 | ||
| 236 | $this->setPaddingTopBottom($topBottom); |
|
| 237 | $this->setPaddingLeftRight($leftRight); |
|
| 238 | ||
| 239 | return $this; |
|
| 240 | } |
|
| 241 | ||
| 242 | public function setPaddingTopBottom(int $topBottom) : self |
|
| 243 | { |
|
| @@ 415-428 (lines=14) @@ | ||
| 412 | return $this->paddingTopBottomRows; |
|
| 413 | } |
|
| 414 | ||
| 415 | public function setPadding(int $topBottom, int $leftRight = null) : self |
|
| 416 | { |
|
| 417 | if ($leftRight === null) { |
|
| 418 | $leftRight = $topBottom; |
|
| 419 | } |
|
| 420 | ||
| 421 | $this->setPaddingTopBottom($topBottom); |
|
| 422 | $this->setPaddingLeftRight($leftRight); |
|
| 423 | ||
| 424 | $this->calculateContentWidth(); |
|
| 425 | $this->generatePaddingTopBottomRows(); |
|
| 426 | ||
| 427 | return $this; |
|
| 428 | } |
|
| 429 | ||
| 430 | public function setPaddingTopBottom(int $topBottom) : self |
|
| 431 | { |
|