public static buildScopeKey ( $scope, $scope_id ) : string | ||
$scope | ||
$scope_id | ||
Результат | string |
public static function buildScopeKey($scope, $scope_id)
{
if ($scope == 'default') {
return $scope;
} else {
return sprintf("%s-%s", $scope, $scope_id);
}
}