src/TemplateHelper.php
public function getImagename(AbstractLocalImage $image = null)
    {
        if (null === $image) {
            return '';
        }
        if (null === $image->getFilename()) {
            return '';
        }

        return pathinfo($image->getFilename(), PATHINFO_FILENAME);
    }
public function getImagename(AbstractLocalImage $image = null)
    {
        if (null === $image) {
            return '';
        }
        if (null === $image->getFilename()) {
            return '';
        }

        return pathinfo($image->getFilename(), PATHINFO_FILENAME);
    }
public function getImagename ( AbstractLocalImage $ image = null ) { if ( null === $ image ) { return '' ; } if ( null === $ image -> getFilename ( ) ) { return '' ; } return pathinfo ( $ image -> getFilename ( ) , PATHINFO_FILENAME ) ; }
Returns the filename of the image without extension.

@since 1.3.0

@param AbstractLocalImage|null $image

@return string
Returns the filename of the image without extension .