public function name()
    {
        $atoms = $this->atoms();
        $numAtoms = count($atoms);

        if ($numAtoms > 0) {
            return $atoms[$numAtoms - 1];
        }

        return '';
    }
public function name()
    {
        $atoms = $this->atoms();
        $numAtoms = count($atoms);

        if ($numAtoms > 0) {
            return $atoms[$numAtoms - 1];
        }

        return '';
    }
public function name ( ) { $ atoms = $ this -> atoms ( ) ; $ numAtoms = count ( $ atoms ) ; if ( $ numAtoms > 0 ) { return $ atoms [ $ numAtoms - 1 ] ; } return '' ; }
Get this path's name.

@return string The last path atom if one exists, otherwise an empty string.
Get this path s name .