| 1 | <?php |
||
| 13 | class manager |
||
| 14 | { |
||
| 15 | /** @var array Ad code analysis tests */ |
||
| 16 | protected $tests; |
||
| 17 | |||
| 18 | /** @var \phpbb\request\request */ |
||
| 19 | protected $request; |
||
| 20 | |||
| 21 | /** @var \phpbb\template\template */ |
||
| 22 | protected $template; |
||
| 23 | |||
| 24 | /** @var \phpbb\language\language */ |
||
| 25 | protected $lang; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Construct an ad code analysis manager object |
||
| 29 | * |
||
| 30 | * @param array $tests Ad code analysis tests passed via the service container |
||
| 31 | * @param \phpbb\request\request $request Request object |
||
| 32 | * @param \phpbb\template\template $template Template object |
||
| 33 | * @param \phpbb\language\language $lang Language object |
||
| 34 | */ |
||
| 35 | 12 | public function __construct($tests, \phpbb\request\request $request, \phpbb\template\template $template, \phpbb\language\language $lang) |
|
| 42 | |||
| 43 | 12 | public function test($ad_code) |
|
| 64 | } |
||
| 65 |