| Conditions | 3 |
| Paths | 3 |
| Total Lines | 39 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 63 | $placeholders = $this->safeguard->getPlaceholders(); |
||
| 64 | |||
| 65 | $result = array(); |
||
| 66 | |||
| 67 | foreach($placeholders as $placeholder) |
||
| 68 | { |
||
| 69 | if(!$placeholder->getCommand()->generatesContent()) |
||
| 70 | { |
||
| 71 | $result[] = $placeholder; |
||
| 72 | } |
||
| 73 | } |
||
| 74 | |||
| 75 | return $result; |
||
| 76 | } |
||
| 77 | |||
| 78 | public function getReplaceNeedle(Mailcode_Parser_Safeguard_Placeholder $placeholder) : string |
||
| 79 | { |
||
| 80 | return $placeholder->getReplacementText(); |
||
| 81 | } |
||
| 82 | } |
||
| 83 | |||
| 84 |