| @@ 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 | { |
|
| @@ 425-438 (lines=14) @@ | ||
| 422 | return $this->paddingTopBottomRows; |
|
| 423 | } |
|
| 424 | ||
| 425 | public function setPadding(int $topBottom, int $leftRight = null) : self |
|
| 426 | { |
|
| 427 | if ($leftRight === null) { |
|
| 428 | $leftRight = $topBottom; |
|
| 429 | } |
|
| 430 | ||
| 431 | $this->setPaddingTopBottom($topBottom); |
|
| 432 | $this->setPaddingLeftRight($leftRight); |
|
| 433 | ||
| 434 | $this->calculateContentWidth(); |
|
| 435 | $this->generatePaddingTopBottomRows(); |
|
| 436 | ||
| 437 | return $this; |
|
| 438 | } |
|
| 439 | ||
| 440 | public function setPaddingTopBottom(int $topBottom) : self |
|
| 441 | { |
|