Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit 23427ea

Browse files
committed
Update Provider
1 parent e4b9225 commit 23427ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/VectorNetworkProject/TheMix/provider/Provider.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
namespace VectorNetworkProject\TheMix\provider;
1010

1111

12+
use VectorNetworkProject\TheMix\TheMix;
13+
1214
abstract class Provider
1315
{
1416
public function createTable()
@@ -65,4 +67,9 @@ public function getKeys()
6567
{
6668
throw new \Error("Missing method 'getKeys'");
6769
}
70+
71+
protected static function getPath(string $folder, string $type): string
72+
{
73+
return TheMix::getInstance()->getDataFolder() . '/' . $folder . '/' . $type . '/';
74+
}
6875
}

0 commit comments

Comments
 (0)