summaryrefslogtreecommitdiff
path: root/lib/php-youtube-api/src/compat.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2025-04-08 02:24:30 +0200
committeremkael <emkael@tlen.pl>2025-04-08 02:24:30 +0200
commitaf150891df3b90fda846941d62ea76616f42a6ab (patch)
tree6363926d7f4a2fe09dc4d1b763b67fbb8d949c09 /lib/php-youtube-api/src/compat.php
parentaf2da903d47550cdf1d7eb2d7b5e5b972d847958 (diff)
Options for YT feeds: minimum video duration and extracting links from descriptionHEADmaster
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');