| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 15 | class SearchComponent extends CachableBaseComponent |
||
| 16 | { |
||
| 17 | protected $searchParameterName = 'q'; |
||
| 18 | protected $searchResultsParameterName = 'searchResults'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \CloudControl\Cms\storage\Storage $storage |
||
| 22 | * @throws \Exception |
||
| 23 | */ |
||
| 24 | public function run(Storage $storage) |
||
| 38 | } |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Checks to see if any parameters were defined in the cms and acts according |
||
| 43 | */ |
||
| 44 | protected function checkParameters() |
||
| 55 | } |