@@ 429-442 (lines=14) @@ | ||
426 | return $this->paddingTopBottomRows; |
|
427 | } |
|
428 | ||
429 | public function setPadding(int $topBottom, int $leftRight = null) : self |
|
430 | { |
|
431 | if ($leftRight === null) { |
|
432 | $leftRight = $topBottom; |
|
433 | } |
|
434 | ||
435 | $this->setPaddingTopBottom($topBottom); |
|
436 | $this->setPaddingLeftRight($leftRight); |
|
437 | ||
438 | $this->calculateContentWidth(); |
|
439 | $this->generatePaddingTopBottomRows(); |
|
440 | ||
441 | return $this; |
|
442 | } |
|
443 | ||
444 | public function setPaddingTopBottom(int $topBottom) : self |
|
445 | { |
@@ 203-213 (lines=11) @@ | ||
200 | return $this; |
|
201 | } |
|
202 | ||
203 | public function setPadding(int $topBottom, int $leftRight = null) : self |
|
204 | { |
|
205 | if ($leftRight === null) { |
|
206 | $leftRight = $topBottom; |
|
207 | } |
|
208 | ||
209 | $this->setPaddingTopBottom($topBottom); |
|
210 | $this->setPaddingLeftRight($leftRight); |
|
211 | ||
212 | return $this; |
|
213 | } |
|
214 | ||
215 | public function setPaddingTopBottom(int $topBottom) : self |
|
216 | { |