$file->filename()

Returns the full filename including extension

  • return (string)

Example

<?= $page->file()->filename(); ?>

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