source/Exo/Commands/BuildCommand.php
protected function build($in, $out)
    {
        $workDir = getenv('WORK_DIR').'/';

        $content = $this->filesystem->read($workDir.$in);

        $document = $this->builder->build($content);

        $this->filesystem->overwrite($workDir.$out, $document);
    }
protected function build($in, $out)
    {
        $workDir = getenv('WORK_DIR').'/';

        $content = $this->filesystem->read($workDir.$in);

        $document = $this->builder->build($content);

        $this->filesystem->overwrite($workDir.$out, $document);
    }
protected function build ( $ in , $ out ) { $ workDir = getenv ( 'WORK_DIR' ) . '/' ; $ content = $ this -> filesystem -> read ( $ workDir . $ in ) ; $ document = $ this -> builder -> build ( $ content ) ; $ this -> filesystem -> overwrite ( $ workDir . $ out , $ document ) ; }
Build a Markdown document.

@param string $in
@param string $out
@return void
Build a Markdown document .