Set the list of supported SNSes used for social login at the developer
console.

NOTE: This feature is not implemented yet.

@param Sns[] $snses
Supported SNSes for social login at the developer console.

@return Service
`$this` object.
18723
public function setSupportedDeveloperSnses(array $snses = null)
    {
        ValidationUtility::ensureNullOrArrayOfType(
            '$snses', $snses, '\Authlete\Types\Sns');

        $this->supportedDeveloperSnses = $snses;

        return $this;
    }
1199824
function withScoped(array $services) {
        foreach ($services as $method => $type) {
            $this->bind($method, $type, self::SCOPED);
        }
        return $this;
    }
229208
protected function setSoapHeaders(array $headers)
    {
        $soapHeaderObjects = array();
        foreach ($headers as $key => $value) {
            $soapHeaderObjects[] = new \SoapHeader(self::SOAP_NAMESPACE, $key, $value);
        }

        $this->soapClient->__setSoapHeaders($soapHeaderObjects);
    }
596659
public function setRegistrations(array $registrations): self
    {
        array_map(function (Registration $r) {
        }, $registrations); // type check
        $this->registrations = $registrations;
        return $this;
    }
574323
public function set($scopes)
    {
        $this->scopes = func_get_args();

        if (is_array($scopes)) {
            $this->scopes[] = $scopes;
        }

        return $this->getDisplay();
    }
524215
public function toUsers($ids)
    {
        if (!is_array($ids)) {
            $ids = [$ids];
        }

        $this->externalUserIds = $ids;
        return $this;
    }
1351847
public function setSignRequests(array $signRequests): self
    {
        array_map(function (SignRequest $s) {
        }, $signRequests); // type check
        $this->signRequests = $signRequests;
        return $this;
    }
397173
public function setServices($services)
    {
        $allowed_values = array('bounty-missions', 'assasination-missions', 'courier-missions', 'interbus', 'reprocessing-plant', 'refinery', 'market', 'black-market', 'stock-exchange', 'cloning', 'surgery', 'dna-therapy', 'repair-facilities', 'factory', 'labratory', 'gambling', 'fitting', 'paintshop', 'news', 'storage', 'insurance', 'docking', 'office-rental', 'jump-clone-facility', 'loyalty-point-store', 'navy-offices', 'security-offices');
        if ((array_diff($services, $allowed_values))) {
            throw new \InvalidArgumentException("Invalid value for 'services', must be one of 'bounty-missions', 'assasination-missions', 'courier-missions', 'interbus', 'reprocessing-plant', 'refinery', 'market', 'black-market', 'stock-exchange', 'cloning', 'surgery', 'dna-therapy', 'repair-facilities', 'factory', 'labratory', 'gambling', 'fitting', 'paintshop', 'news', 'storage', 'insurance', 'docking', 'office-rental', 'jump-clone-facility', 'loyalty-point-store', 'navy-offices', 'security-offices'");
        }
        $this->container['services'] = $services;

        return $this;
    }
412007
public function setInis($inis)
    {
        foreach ($inis as $name => $value) {
            ini_set('session.' . $name, $value);
        }
        $this->inis = $inis + $this->inis;
        return $this;
    }
351129
public function setAuthHeader($params)
    {
        if (is_array($params)) {
            $this->authHeader = $this->toHeader($params);
        } else {
            if (strpos($params, 'Authorization: ') !== false) {
                $params = str_replace('Authorization: ', '', $params);
            }

            $this->authHeader = $params;
        }
    }
193774
public function withHeaders( array $headers )
	{
		foreach ( $headers as $key => $value )
		{
			$this->headers->set( $key, $value );
		}

		return $this;
	}
1315933
public function setService($services)
    {
        if (!is_array($services)) {
            throw new \Exception(__METHOD__.' accept parameter as array.');
        }

        foreach ($services as $key => $alias) {
            $this[$key] = $alias;
        }

        return $this;
    }
1068097
public function set($columnFilters)
    {
        if (! is_array($columnFilters)) {
            $columnFilters = func_get_args();
        }

        $this->columnFilters = [];

        foreach ($columnFilters as $filter) {
            $this->push($filter);
        }

        return $this;
    }
922295
public function setNoSignQueryKeys($noSignQueryKeys, $isClean = false){
    if ($isClean !==false) {
      $this->noSignQueryKeys = array();
    }
    if (is_string($noSignQueryKeys)) {
      $this->noSignQueryKeys[] = $noSignQueryKeys;
    }elseif(is_array($noSignQueryKeys)){
      foreach ($noSignQueryKeys as $noSignQueryKey) {
        $this->noSignQueryKeys[] = $noSignQueryKey;
      }
    }
    return $this;
  }
872628
public function setNoSignHeadersKeys($noSignHeadersKeys, $isClean = false){
    if ($isClean !==false) {
      $this->noSignHeadersKeys = array();
    }
    if (is_string($noSignHeadersKeys)) {
      $this->noSignHeadersKeys[] = strtolower($noSignHeadersKeys);
    }elseif(is_array($noSignHeadersKeys)){
      foreach ($noSignHeadersKeys as $noSignHeadersKey) {
        $this->noSignHeadersKeys[] = strtolower($noSignHeadersKey);
      }
    }
    return $this;
  }
357455
public function setHeaders(array $headers)
    {
        $this->headers = [];
        foreach ($headers as $name => $val) {
            $this->addHeader($name, $val);
        }
        return $this;
    }
760545
public static function setNamespaces($namespaces)
    {
        $called = get_called_class();

        if (!$namespaces instanceof PriorityQueue) {
            $namespaces = new PriorityQueue();
        }

        static::$namespaces[$called] = $namespaces;
    }