Added a content type system to be able to extend the conversion mechanism

This commit is contained in:
Stéphane Goetz
2015-07-28 17:25:03 +02:00
parent 45328d5f4e
commit b5ce4f1d79
20 changed files with 232 additions and 37 deletions

View File

@ -3,6 +3,7 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Todaymade\Daux\Daux;
use Todaymade\Daux\Format\Base\ContentTypes\ContentTypeHandler;
interface Generator
{
@ -18,4 +19,9 @@ interface Generator
* @return mixed
*/
public function generateAll(InputInterface $input, OutputInterface $output, $width);
/**
* @return array
*/
public function getContentTypes();
}