1 | <?php |
||
14 | class ContentCreator |
||
15 | { |
||
16 | /** |
||
17 | * Options |
||
18 | * |
||
19 | * @var array |
||
20 | */ |
||
21 | private $options; |
||
22 | |||
23 | /** |
||
24 | * Constructor |
||
25 | * |
||
26 | * @param array $options |
||
27 | */ |
||
28 | public function __construct(array $options) |
||
32 | |||
33 | /** |
||
34 | * Get content type |
||
35 | * @param MarkdownDocument $document |
||
36 | * @return ContentTypeInterface |
||
37 | */ |
||
38 | public function __invoke(MarkdownDocument $document) : ContentTypeInterface |
||
49 | |||
50 | /** |
||
51 | * Get options |
||
52 | * |
||
53 | * @return array |
||
54 | */ |
||
55 | public function getOptions() : array |
||
59 | } |