From f69e1c356d9500967171f4e67788354073fa17e2 Mon Sep 17 00:00:00 2001 From: Jose Erick Carreon Date: Sun, 14 Apr 2019 19:43:04 -0500 Subject: [PATCH] feat: Added function get path of file --- .../Plex/Server/Library/Item/Media/File/File.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Joserick/Plex/Server/Library/Item/Media/File/File.php b/src/Joserick/Plex/Server/Library/Item/Media/File/File.php index a2c0d9a..d5e2260 100644 --- a/src/Joserick/Plex/Server/Library/Item/Media/File/File.php +++ b/src/Joserick/Plex/Server/Library/Item/Media/File/File.php @@ -203,6 +203,18 @@ public function getFile() return $this->file; } + /** + * Returns the path of the file. + * + * @uses Plex_Server_Library_Item_Media_File::getFile() + * + * @return string The path of the file. + */ + public function getPath() + { + return $this->getFile(); + } + /** * Sets the path of the file. *