public function nameWithoutExtension()
    {
        $atoms = $this->nameAtoms();
        if (count($atoms) > 1) {
            array_pop($atoms);

            return implode(static::EXTENSION_SEPARATOR, $atoms);
        }

        return $atoms[0];
    }
public function nameWithoutExtension()
    {
        $atoms = $this->nameAtoms();
        if (count($atoms) > 1) {
            array_pop($atoms);

            return implode(static::EXTENSION_SEPARATOR, $atoms);
        }

        return $atoms[0];
    }
public function nameWithoutExtension ( ) { $ atoms = $ this -> nameAtoms ( ) ; if ( count ( $ atoms ) > 1 ) { array_pop ( $ atoms ) ; return implode ( static :: EXTENSION_SEPARATOR , $ atoms ) ; } return $ atoms [ 0 ] ; }
Get this path's name, excluding the last extension.

@return string The last atom of this path, excluding the last extension. If this path has no atoms, an empty string is returned.
Get this path s name excluding the last extension .