From 8bb0757cc3e544fc40f362568ac9df19cd3798a8 Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Mon, 20 May 2024 19:21:34 +0600 Subject: [PATCH] pkp/pkp-lib#9968 blade templating engine integration R&D --- classes/core/Application.php | 5 +++++ compiled/.gitignore | 2 ++ templates/about.blade.php | 1 + 3 files changed, 8 insertions(+) create mode 100644 compiled/.gitignore create mode 100644 templates/about.blade.php diff --git a/classes/core/Application.php b/classes/core/Application.php index 42f1fcb1f7b..ce93d40a916 100644 --- a/classes/core/Application.php +++ b/classes/core/Application.php @@ -256,4 +256,9 @@ public static function getPaymentManager($context) { return new OJSPaymentManager($context); } + + public function getNamespace(): string + { + return 'APP\\'; + } } diff --git a/compiled/.gitignore b/compiled/.gitignore new file mode 100644 index 00000000000..c96a04f008e --- /dev/null +++ b/compiled/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file diff --git a/templates/about.blade.php b/templates/about.blade.php new file mode 100644 index 00000000000..50e4835405d --- /dev/null +++ b/templates/about.blade.php @@ -0,0 +1 @@ +Hello World - from /lib/pkp/templates \ No newline at end of file