| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 93 | private function explodeContent(string $content) |
||
| 94 | { |
||
| 95 | if (false !== strpos($content, self::MORE_SEPARATOR)) { |
||
| 96 | $parts = explode(self::MORE_SEPARATOR, $content, 2); |
||
| 97 | $this->excerpt = trim($parts[0]); |
||
| 98 | $this->extend = trim($parts[1]); |
||
| 99 | } else { |
||
| 100 | $this->excerpt = ''; |
||
| 101 | $this->extend = trim($content); |
||
| 102 | } |
||
| 103 | } |
||
| 104 | } |