src/Generator.php
protected function makeYamlCopy()
    {
        if ($this->yamlCopyRequired) {
            file_put_contents(
                $this->yamlDocsFile,
                (new YamlDumper(2))->dump(json_decode(file_get_contents($this->docsFile), true), 20)
            );
        }
    }
protected function makeYamlCopy()
    {
        if ($this->yamlCopyRequired) {
            file_put_contents(
                $this->yamlDocsFile,
                (new YamlDumper(2))->dump(json_decode(file_get_contents($this->docsFile), true), 20)
            );
        }
    }
protected function makeYamlCopy ( ) { if ( $ this -> yamlCopyRequired ) { file_put_contents ( $ this -> yamlDocsFile , ( new YamlDumper ( 2 ) ) -> dump ( json_decode ( file_get_contents ( $ this -> docsFile ) , true ) , 20 ) ) ; } }
Save documentation as yaml file.

@return Generator
Save documentation as yaml file .