35 $this->loadDisputedAreas();
37 foreach ($this->disputedAreas as $disputedArea)
39 if (!$disputedArea->containsPoint($point))
45 switch ($disputedArea->getCode())
47 case self::CODE_CRIMEA:
48 $className = CrimeaDispute::class;
50 case self::CODE_SEVASTOPOL:
51 $className = SevastopolDispute::class;
60 return new $className();