Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
feat: Added function get path of file
Browse files Browse the repository at this point in the history
  • Loading branch information
joserick committed Apr 15, 2019
1 parent 4985414 commit f69e1c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Joserick/Plex/Server/Library/Item/Media/File/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit f69e1c3

Please sign in to comment.