$media->dir()

Returns the full path for the directory, in which the file is located

  • return (string)

Example:

echo $media->dir();

Is something missing or incorrect? Edit this page on Github…