From 1de85647f84577adbe755ac3bc8234e5894f6208 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 10 Sep 2019 13:37:35 +0300 Subject: [PATCH] refactor(core): Snippets API - change get location methods #186 change private _file_location() to public getEntryFileLocation() change private _dir_location() to public getEntryDirLocation() --- flextype/core/Snippets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flextype/core/Snippets.php b/flextype/core/Snippets.php index 0ac29f9e..e369d8e8 100644 --- a/flextype/core/Snippets.php +++ b/flextype/core/Snippets.php @@ -261,7 +261,7 @@ class Snippets * * @access private */ - private function getFileLocation(string $id) : string + public function getFileLocation(string $id) : string { return PATH['snippets'] . '/' . $id . '.php'; } @@ -273,7 +273,7 @@ class Snippets * * @access private */ - private function getDirLocation() : string + public function getDirLocation() : string { return PATH['snippets'] . '/'; }