Add a more advanced processor system

This commit is contained in:
Stéphane Goetz
2015-07-17 18:34:00 +02:00
committed by Stéphane Goetz
parent 8dd3c1d6f8
commit e7afd9aa28
7 changed files with 95 additions and 11 deletions

38
libs/Processor.php Normal file
View File

@ -0,0 +1,38 @@
<?php namespace Todaymade\Daux;
use League\CommonMark\Environment;
use Symfony\Component\Console\Output\OutputInterface;
use Todaymade\Daux\Tree\Directory;
class Processor
{
/**
* @var Daux
*/
protected $daux;
/**
* @var OutputInterface
*/
protected $output;
/**
* @var integer
*/
protected $width;
public function __construct(Daux $daux, OutputInterface $output, $width)
{
$this->daux = $daux;
$this->output = $output;
$this->width = $width;
}
public function manipulateTree(Directory $root)
{
}
public function extendCommonMarkEnvironment(Environment $environment)
{
}
}