$media->filename()

Returns the full filename including extension

  • return (string)

Example

<?php echo $media->filename(); ?>