2015-07-29 22:31:41 +02:00
|
|
|
<?php namespace Todaymade\Daux\ContentTypes;
|
2015-07-28 17:25:03 +02:00
|
|
|
|
|
|
|
use Todaymade\Daux\Config;
|
|
|
|
|
|
|
|
interface ContentType
|
|
|
|
{
|
|
|
|
public function __construct(Config $config);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the file extensions supported by this Content Type
|
|
|
|
*
|
|
|
|
* @return string[]
|
|
|
|
*/
|
|
|
|
public function getExtensions();
|
|
|
|
|
|
|
|
public function convert($html);
|
|
|
|
}
|