| Total Complexity | 3 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Preprocessor |
||
| 16 | { |
||
| 17 | protected $_settings; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor |
||
| 21 | * |
||
| 22 | * @param array $settings settings |
||
| 23 | */ |
||
| 24 | public function __construct($settings) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Process |
||
| 31 | * |
||
| 32 | * @param string $string string |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function process($string) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Convert full internal links (http://domain/…/view/123) to hashes (#123) |
||
| 42 | * |
||
| 43 | * @param string $string string |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | protected function _hashInternalEntryLinks($string) |
||
| 61 |