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