| Current Path : /var/www/element/data/www/revenuestory.ru/bitrix/modules/location/lib/source/ |
| Current File : /var/www/element/data/www/revenuestory.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;
}
}