| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ReportManager extends AbstractPluginManager |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Validate the plugin |
||
| 12 | * |
||
| 13 | * Checks that the filter loaded is either a valid callback or an instance |
||
| 14 | * of FilterInterface. |
||
| 15 | * |
||
| 16 | * @param mixed $plugin |
||
| 17 | * @return void |
||
| 18 | * @throws Exception\RuntimeException if invalid |
||
| 19 | */ |
||
| 20 | public function validatePlugin($plugin) |
||
| 31 | } |