PageRenderTime 52ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 0ms

/src/Bundle/Knplabs/Bundle/MarkdownBundle/Parser/Preset/Min.php

https://github.com/thaberkern/TaskBoxx
PHP | 23 lines | 13 code | 7 blank | 3 comment | 0 complexity | 97db0597a9562a0fa172d42bd6e85917 MD5 | raw file
Possible License(s): LGPL-2.1, LGPL-3.0, MIT, BSD-3-Clause, Apache-2.0
  1. <?php
  2. namespace Knplabs\Bundle\MarkdownBundle\Parser\Preset;
  3. use Knplabs\Bundle\MarkdownBundle\Parser\MarkdownParser;
  4. /**
  5. * Minimally featured Markdown Parser
  6. */
  7. class Min extends MarkdownParser
  8. {
  9. public function __construct(array $features = array())
  10. {
  11. foreach ($this->features as $name => $enabled) {
  12. $this->features[$name] = false;
  13. }
  14. return parent::__construct($features);
  15. }
  16. }