| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class BrowserOutputter implements IOutputter |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * https://github.com/php/php-src/tree/master/sapi |
||
| 14 | * PHP7以前のものは対応しない |
||
| 15 | * @var SAPIリスト |
||
|
|
|||
| 16 | */ |
||
| 17 | private $sapis = [ |
||
| 18 | 'apache2handler' => 'http', |
||
| 19 | 'cgi' => 'http', |
||
| 20 | 'cli' => 'console', |
||
| 21 | 'fpm' => 'http', |
||
| 22 | 'embed' => 'unsupported', |
||
| 23 | 'litespeed' => 'unsupported', |
||
| 24 | 'phpdbg' => 'unsupported', |
||
| 25 | 'tests' => 'unsupported' |
||
| 26 | ]; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function write($text) |
||
| 39 |