Add a more advanced processor system
This commit is contained in:
committed by
Stéphane Goetz
parent
8dd3c1d6f8
commit
e7afd9aa28
38
libs/Processor.php
Normal file
38
libs/Processor.php
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user