Todaymade\Daux\Format\Confluence\Generator::generateAll PHP Метод

generateAll() публичный Метод

public generateAll ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $width )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function generateAll(InputInterface $input, OutputInterface $output, $width)
    {
        $params = $this->daux->getParams();
        $confluence = $params['confluence'];
        $this->prefix = trim($confluence['prefix']) . ' ';
        $tree = $this->runAction('Generating Tree ...', $output, $width, function () use($params) {
            $tree = $this->generateRecursive($this->daux->tree, $params);
            $tree['title'] = $this->prefix . $params['title'];
            return $tree;
        });
        $output->writeln('Start Publishing...');
        $publisher = new Publisher($confluence);
        $publisher->output = $output;
        $publisher->width = $width;
        $publisher->publish($tree);
    }