Lines Matching refs:scope
71 protected $scope;
148 return $this->scope;
152 * @param null|string $scope
156 public function setScope(?string $scope)
158 $scope = $scope === null ? $scope : strtolower($scope);
159 if ($scope !== null && !in_array($scope, [self::SCOPE_BASE, self::SCOPE_ONE, self::SCOPE_SUB], true)) {
161 'The scope "%s" is not valid. It must be one of: %s, %s, %s',
162 $scope,
168 $this->scope = $scope;
374 if ($this->scope !== null) {
375 $query[1] = self::encode($this->scope);