| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public static function renderCircle(ButtonInterface $button, $circle) { |
||
| 33 | |||
| 34 | if (true !== $circle) { |
||
| 35 | return static::renderSize($button); |
||
| 36 | } |
||
| 37 | |||
| 38 | $output = ["btn-circle"]; |
||
| 39 | if (ButtonInterface::BUTTON_SIZE_LG === $button->getSize()) { |
||
| 40 | $output[] = "-"; |
||
| 41 | $output[] = ButtonInterface::BUTTON_SIZE_LG; |
||
| 42 | } |
||
| 43 | $output[] = " waves-circle waves-float"; |
||
| 44 | |||
| 45 | return implode("", $output); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |