| Total Complexity | 5 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | trait AutoParagraphs |
||
| 7 | { |
||
| 8 | protected $autoParagraphs = []; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Loops over every field in $autoParagraphs and creates a duplicate |
||
| 12 | * field suffixed with _html containing html paragraphs |
||
| 13 | */ |
||
| 14 | private function initAutoParagraphs() { |
||
| 19 | } |
||
| 20 | } |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Performs the actual transformation |
||
| 26 | * |
||
| 27 | * @param $text |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | private function autoParagraph($text) { |
||
| 33 | } |
||
| 34 | } |