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:
@@ -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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user