summaryrefslogtreecommitdiff
path: root/lib/php-youtube-api/src/compat.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/php-youtube-api/src/compat.php')
-rw-r--r--lib/php-youtube-api/src/compat.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/php-youtube-api/src/compat.php b/lib/php-youtube-api/src/compat.php
new file mode 100644
index 0000000..a0ffe38
--- /dev/null
+++ b/lib/php-youtube-api/src/compat.php
@@ -0,0 +1,12 @@
+<?php
+
+namespace Madcoda;
+
+/**
+ * This is an alias class to Madcoda\Youtube\Youtube
+ * for backward compatibility, you should use Madcoda\Youtube\Youtube from now on
+ */
+class compat extends Youtube\Youtube
+{
+}
+//class_alias('Madcoda\\Youtube', 'Madcode\\Youtube\\Youtube');