aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/core/src/Facades
diff options
context:
space:
mode:
authormarvin-borner@live.com2018-04-16 21:09:05 +0200
committermarvin-borner@live.com2018-04-16 21:09:05 +0200
commitcf14306c2b3f82a81f8d56669a71633b4d4b5fce (patch)
tree86700651aa180026e89a66064b0364b1e4346f3f /main/app/sprinkles/core/src/Facades
parent619b01b3615458c4ed78bfaeabb6b1a47cc8ad8b (diff)
Main merge to user management system - files are now at /main/public/
Diffstat (limited to 'main/app/sprinkles/core/src/Facades')
-rwxr-xr-xmain/app/sprinkles/core/src/Facades/Debug.php28
-rwxr-xr-xmain/app/sprinkles/core/src/Facades/Translator.php28
2 files changed, 56 insertions, 0 deletions
diff --git a/main/app/sprinkles/core/src/Facades/Debug.php b/main/app/sprinkles/core/src/Facades/Debug.php
new file mode 100755
index 0000000..86ef450
--- /dev/null
+++ b/main/app/sprinkles/core/src/Facades/Debug.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * UserFrosting (http://www.userfrosting.com)
+ *
+ * @link https://github.com/userfrosting/UserFrosting
+ * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
+ */
+namespace UserFrosting\Sprinkle\Core\Facades;
+
+use UserFrosting\System\Facade;
+
+/**
+ * Implements facade for the "debugLogger" service
+ *
+ * @author Alex Weissman (https://alexanderweissman.com)
+ */
+class Debug extends Facade
+{
+ /**
+ * Get the registered name of the component.
+ *
+ * @return string
+ */
+ protected static function getFacadeAccessor()
+ {
+ return 'debugLogger';
+ }
+}
diff --git a/main/app/sprinkles/core/src/Facades/Translator.php b/main/app/sprinkles/core/src/Facades/Translator.php
new file mode 100755
index 0000000..e6fcccc
--- /dev/null
+++ b/main/app/sprinkles/core/src/Facades/Translator.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * UserFrosting (http://www.userfrosting.com)
+ *
+ * @link https://github.com/userfrosting/UserFrosting
+ * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License)
+ */
+namespace UserFrosting\Sprinkle\Core\Facades;
+
+use UserFrosting\System\Facade;
+
+/**
+ * Implements facade for the "translator" service
+ *
+ * @author Alex Weissman (https://alexanderweissman.com)
+ */
+class Translator extends Facade
+{
+ /**
+ * Get the registered name of the component.
+ *
+ * @return string
+ */
+ protected static function getFacadeAccessor()
+ {
+ return 'translator';
+ }
+}