src/File/FileOperations.php
/**
	 * Get file basename without extension
	 *
	 * @return string
	 */
Get file basename without extension
@return string
Get file basename without extension @return string
public function basenameWithoutExtension(): string
	{
		if (!$this->file) {
			return '';
		}
		return rtrim(basename($this->file, $this->extension()), '.');
	}
public function basenameWithoutExtension ( ) : string { if ( ! $ this -> file ) { return '' ; } return rtrim ( basename ( $ this -> file , $ this -> extension ( ) ) , '.' ) ; }
Get file basename without extension
 @return string
Get file basename without extension @return string