mirror of
https://github.com/php/phd.git
synced 2026-03-24 07:02:07 +01:00
20 lines
469 B
PHP
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);
|
|
}
|
|
|
|
}
|