public function pop()
    {
        //get the path array
        $pathArray = $this->getArray();

        //remove the last
        $path = array_pop($pathArray);

        //set path
        $this->data = implode('/', $pathArray);

        return $path;
    }
public function pop()
    {
        //get the path array
        $pathArray = $this->getArray();

        //remove the last
        $path = array_pop($pathArray);

        //set path
        $this->data = implode('/', $pathArray);

        return $path;
    }
public function pop ( ) { //get the path array $ pathArray = $ this -> getArray ( ) ; //remove the last $ path = array_pop ( $ pathArray ) ; //set path $ this -> data = implode ( '/' , $ pathArray ) ; return $ path ; }
Remove the last path

@return Eden\Path\Index
Remove the last path