1
0
mirror of https://github.com/php/phd.git synced 2026-03-24 07:02:07 +01:00
Files
2024-12-29 19:58:10 +00:00

20 lines
469 B
PHP

<?php
namespace phpdotnet\phd;
class Package_IDE_JSON extends Package_IDE_Base {
public function __construct(
Config $config,
OutputHandler $outputHandler
) {
parent::__construct($config, $outputHandler);
$this->registerFormatName('IDE-JSON');
$this->setExt($this->config->ext === null ? ".json" : $this->config->ext);
}
public function parseFunction() {
return json_encode($this->function);
}
}