aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/lukasreschke/id3parser/src/ID3Parser.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/lukasreschke/id3parser/src/ID3Parser.php')
-rw-r--r--vendor/lukasreschke/id3parser/src/ID3Parser.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/lukasreschke/id3parser/src/ID3Parser.php b/vendor/lukasreschke/id3parser/src/ID3Parser.php
new file mode 100644
index 000000000..f87a8b7dc
--- /dev/null
+++ b/vendor/lukasreschke/id3parser/src/ID3Parser.php
@@ -0,0 +1,22 @@
+<?php
+/////////////////////////////////////////////////////////////////
+/// getID3() by James Heinrich <info@getid3.org> //
+// available at http://getid3.sourceforge.net //
+// or http://www.getid3.org //
+// also https://github.com/JamesHeinrich/getID3 //
+/////////////////////////////////////////////////////////////////
+
+namespace ID3Parser;
+
+use ID3Parser\getID3\getID3;
+
+class ID3Parser {
+ /**
+ * @param string $fileName
+ * @return array
+ */
+ public function analyze($fileName) {
+ $getID3 = new getID3();
+ return $getID3->analyze($fileName);
+ }
+}