public function getName( $suffix = NULL ) : string
    {
        $name = $suffix ? basename( $this->path, $suffix ) : basename( $this->path );

        return $name;
    }
public function getName( $suffix = NULL ) : string
    {
        $name = $suffix ? basename( $this->path, $suffix ) : basename( $this->path );

        return $name;
    }
public function getName ( $ suffix = NULL ) : string { $ name = $ suffix ? basename ( $ this -> path , $ suffix ) : basename ( $ this -> path ) ; return $ name ; }
Name of the file or directory

@param string|NULL $suffix       file suffix which is ignored.

@return string
Name of the file or directory