From b2b2ab5b5d69f88b226bc66747b03b4d911b87a2 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 17 Aug 2019 12:39:06 +0300 Subject: [PATCH] Flextype Core: Add ability to work with different types of content #212 #186 - default driver added --- flextype/parsers/Parser.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/flextype/parsers/Parser.php b/flextype/parsers/Parser.php index 67fa2f25..423a04b4 100644 --- a/flextype/parsers/Parser.php +++ b/flextype/parsers/Parser.php @@ -11,6 +11,18 @@ namespace Flextype; class Parser { + /** + * Default driver + * + * @var array + */ + public static $default_driver = 'frontmatter'; + + /** + * Drivers + * + * @var array + */ public static $drivers = [ 'frontmatter' => [ 'name' => 'frontmatter',