- require ('ApiFormatYaml_spyc.php');
- $this->printText(Spyc :: YAMLDump($this->getResult()->getData()));
+ $this->printText( Spyc::YAMLDump( $this->getResultData() ) );
+ }
+
+ public function getDescription() {
+ return 'Output data in YAML format' . parent::getDescription();