From efaa455f3dc1f74c9e6ccdf8bbeb670d29d0dbc3 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 10 Sep 2019 13:37:29 +0300 Subject: [PATCH] refactor(core): Fieldsets API - change get location methods #186 change private _file_location() to public getEntryFileLocation() change private _dir_location() to public getEntryDirLocation() --- flextype/core/Fieldsets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flextype/core/Fieldsets.php b/flextype/core/Fieldsets.php index 918a10ce..9705db4f 100644 --- a/flextype/core/Fieldsets.php +++ b/flextype/core/Fieldsets.php @@ -194,7 +194,7 @@ class Fieldsets * * @access private */ - private function getDirLocation() : string + public function getDirLocation() : string { return PATH['site'] . '/fieldsets/'; } @@ -206,7 +206,7 @@ class Fieldsets * * @access private */ - private function getFileLocation(string $id) : string + public function getFileLocation(string $id) : string { return PATH['site'] . '/fieldsets/' . $id . '.yaml'; }