From 93d86d8b55ffb89abfc1635ecc7c42fd31a0aa2b Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 23 May 2022 21:38:14 +0300 Subject: [PATCH] feat(entries): add ability to init custom macros and directives --- src/flextype/core/Entries/Entries.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flextype/core/Entries/Entries.php b/src/flextype/core/Entries/Entries.php index 169a37a6..20d98f9a 100755 --- a/src/flextype/core/Entries/Entries.php +++ b/src/flextype/core/Entries/Entries.php @@ -116,7 +116,7 @@ class Entries * * @access public */ - private function initFieldsMacros(array $macros): void + private function initMacros(array $macros): void { foreach ($macros as $key => $value) { if ($key == 'debug') { @@ -136,7 +136,7 @@ class Entries * * @access public */ - private function initFieldsDirectives(array $directives): void + private function initDirectives(array $directives): void { foreach ($directives as $key => $value) { if (filesystem()->file(ROOT_DIR . $value['path'])->exists()) {