aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template/twig/node/includeasset.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template/twig/node/includeasset.php')
-rw-r--r--phpBB/includes/template/twig/node/includeasset.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/phpBB/includes/template/twig/node/includeasset.php b/phpBB/includes/template/twig/node/includeasset.php
index 38c0498492..b12d379157 100644
--- a/phpBB/includes/template/twig/node/includeasset.php
+++ b/phpBB/includes/template/twig/node/includeasset.php
@@ -62,4 +62,19 @@ abstract class phpbb_template_twig_node_includeasset extends Twig_Node
->raw("\n');\n")
;
}
+
+ /**
+ * Get the definition name
+ *
+ * @return string (e.g. 'SCRIPTS')
+ */
+ abstract public function get_definition_name();
+
+ /**
+ * Append the output code for the asset
+ *
+ * @param Twig_Compiler A Twig_Compiler instance
+ * @return null
+ */
+ abstract protected function append_asset(Twig_Compiler $compiler);
}