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