1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 13:52:56 +02:00

refactor(core): Fieldsets 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:29 +03:00
parent eb0dc7cc4f
commit efaa455f3d

View File

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