| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | final class FontFaceExtractor extends SimplePatternExtractor |
||
| 14 | { |
||
| 15 | private const PATTERN = '/(@font-face[^}]+\})/'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | protected function getPattern(): string |
||
| 21 | { |
||
| 22 | return self::PATTERN; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $match |
||
| 27 | * |
||
| 28 | * @return Extractable |
||
| 29 | */ |
||
| 30 | protected function createExtractable(string $match): Extractable |
||
| 33 | } |
||
| 34 | } |
||
| 35 |