$media->extension()

Returns the file extension

  • return (string)

Example

<?= $media->extension(); ?>