private function getLocationByObject(ValueObject $object)
    {
        $contentInfo = $this->contentService->loadContentInfo($object->data['content_id']);
        $locations = $this->locationService->loadLocations($contentInfo);
        foreach ($locations as $loc) {
            if ($loc->parentLocationId === $object->data['parent_location_id']) {
                return $loc;
            }
        }

        return;
    }