public function last() {
        if ($this->count()) {
            $this->current = $this->count() - 1;
            return $this->get($this->count() - 1);
        }
    }
public function last() {
        if ($this->count()) {
            $this->current = $this->count() - 1;
            return $this->get($this->count() - 1);
        }
    }
public function last ( ) { if ( $ this -> count ( ) ) { $ this -> current = $ this -> count ( ) - 1 ; return $ this -> get ( $ this -> count ( ) - 1 ) ; } }
Fetches the last element in the collection
@return mixed
Fetches the last element in the collection