code: public function getEndLocation ()
  	{
  		$lastLocation = $this->getLocation ();
  		$lastDate = NOW;
  
  		foreach ($this->movements as $v)
  		{
  			if ($v->getEndTime () > $lastDate)
  			{
  				$lastDate = $v->getEndTime ();
  				$lastLocation = $v->getEndLocation ();
  			}
  		}
  
  		return $lastLocation;
  	}
docs: Goes true all paths and checks the final location