/** * generates Hash from Start and Target Adress (Route Hashtable) * coordinates as string together, since calculate sum from both bigInts * would be the same ride from->to and to->from * @return string */ public function getRideRouteHash() { return hash('md4', $this->startAddress->getHashFromBigIntCoordinates() . $this->targetAddress->getHashFromBigIntCoordinates()); }