Your IP : 13.59.88.8


Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/location/lib/source/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/location/lib/source/baserepository.php

<?php

namespace Bitrix\Location\Source;

use Bitrix\Location\Repository\Location\IScope;

/**
 * Class BaseRepository
 * @package Bitrix\Location\Source
 * @internal
 */
abstract class BaseRepository implements IScope
{
	/**
	 * @inheritDoc
	 */
	public function isScopeSatisfy(int $scope): bool
	{
		return $scope === LOCATION_SEARCH_SCOPE_ALL || $scope === LOCATION_SEARCH_SCOPE_EXTERNAL;
	}
}