1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 05:43:10 +02:00

refactor(core): Snippets API - change get location methods #186

change private _file_location() to public getEntryFileLocation()
change private _dir_location() to public getEntryDirLocation()
This commit is contained in:
Awilum
2019-09-10 13:37:35 +03:00
parent efaa455f3d
commit 1de85647f8

View File

@@ -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'] . '/';
}