aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Micieli <micieli@laposte.net>2019-08-19 11:07:05 +0200
committerWilly Micieli <micieli@laposte.net>2019-08-19 11:07:05 +0200
commit155cece89e0d1d05e2446b6d4521b223d2033559 (patch)
tree2e7ddd4d38b8dbfb7c841db71e093cada99c9529
parent0bd00f852b51d2b011b5c88974b8ad25861be151 (diff)
downloadshaolin-155cece89e0d1d05e2446b6d4521b223d2033559.zip
shaolin-155cece89e0d1d05e2446b6d4521b223d2033559.tar.gz
add compenants directory to use external class or to re use classes
-rw-r--r--components/Component.php8
-rw-r--r--composer.json3
2 files changed, 10 insertions, 1 deletions
diff --git a/components/Component.php b/components/Component.php
new file mode 100644
index 0000000..ee40b86
--- /dev/null
+++ b/components/Component.php
@@ -0,0 +1,8 @@
+<?php
+
+namespace Components;
+
+class Component
+{
+
+} \ No newline at end of file
diff --git a/composer.json b/composer.json
index da2e220..5e9823d 100644
--- a/composer.json
+++ b/composer.json
@@ -14,7 +14,8 @@
},
"autoload": {
"psr-4": {
- "App\\": "app/"
+ "App\\": "app/",
+ "Components\\" : "components/"
},
"files": [
"app/Helpers/web.php",