Sets the master key pair provider for use in secure key pairs

@param ProviderInterface|array   $provider   The key pair provider for the master key
428675
public function setMasterKeyPairProvider($provider)
    {
        if (isset($this->masterKeyPairProvider)) {
            throw new InvalidCallException('Setting read-only property: ' . get_class($this) . '::masterKeyPairProvider');
        }
        if (is_array($provider)) {
            $provider = Yii::createObject($provider);
        }

        $this->masterKeyPairProvider = $provider;
    }
926221
public function setProvider(\Core\Entity\People $provider = null) {
        $this->provider = $provider;

        return $this;
    }
669311
public function addProvider($provider) {
        $this->validateProvider($provider);

        if (is_object($provider)) {
            $class = get_class($provider);
            $instance = $provider;
        } else {
            $class = $provider;
            $instance = null;
        }

        if ( ! array_has($this->providers, $class)) {
            $this->providers[$class] = [
                'instance' => $instance,
                'tags' => [],
            ];
        }
    }
216585
public function register($provider, $options = array())
	{
		$provider->register($this);

		foreach ($options as $key => $value)
		{
			$this[$key] = $value;
		}

		return $this;
	}
318223
protected function validateProvider($provider) {
        if (is_string($provider)) {
            if ( ! class_exists($provider)) {
                $message = s('Provider class %s does not exist.', $provider);

                throw new InvalidProviderException($message);
            }
        } else if ( ! is_object($provider)) {
            $message = s(
                'Provider must be either a valid class name, or an instance, received: "%s".',
                get_type($provider)
            );

            throw new InvalidProviderException($message);
        }
    }
885305
public function registerProvider(ProviderInterface $provider, $lifeTime = 3600)
    {
        if (!$lifeTime instanceof \DateInterval) {
            $lifeTime = new \DateInterval(sprintf('PT%dS', $lifeTime));
        }

        $this->providers[$provider->getName()] = array('provider' => $provider, 'lifeTime' => $lifeTime);
    }
129622
public function registerProvider($key, LocationProviderInterface $provider)
    {
        if (!$this->hasProvider($key)) {
            $this->providers[$key] = $provider;
        }
    }
310365
public function setProvider($provider, array $arguments = array())
    {
        if (null === $provider || '' === $provider) {
            throw new \InvalidArgumentException('A property faker provider name can not be empty');
        }

        $this->provider = $provider;

        if (!empty($arguments)) {
            $this->arguments = $arguments;
        }
    }
4542
protected function setProvider($name, ThemeProviderInterface $provider) {
        $k = ObjectHelper::getShortName($name);
        $v = $this->getIndex()[$k];
        if (null !== $v) {
            $this->getProviders()[$v] = $provider;
            return $this;
        }
        $this->index[$k] = count($this->getProviders());
        return $this->addProvider($provider);
    }
771479
protected function loadProviders($providers)
	{
		foreach ((array) $providers as $provider) {
			$provider = $this->container->get($provider);

			if (!$provider instanceof ServiceProviderInterface) {
				$providerName = get_class($provider);
				throw new \Exception(
					"$providerName does not implement required \\TitaPHP\\Foundation\\ServiceProviderInterface Interface"
				);
			}

			$provider->register($this);
		}
	}
1018067
private function setApiProviderConfiguration($credentials)
    {
        // Setting PayPal API Credentials
        collect($credentials[$this->mode])->map(function ($value, $key) {
            $this->config[$key] = $value;
        });

        // Setup PayPal API Signature value to use.
        $this->config['signature'] = empty($this->config['certificate']) ?
        $this->config['secret'] : $this->config['certificate'];

        $this->paymentAction = $credentials['payment_action'];

        $this->locale = $credentials['locale'];

        $this->certificate = $this->config['certificate'];

        $this->validateSSL = $credentials['validate_ssl'];

        $this->setApiProvider($credentials);
    }
170545
public function register(
        ServiceProviderInterface $provider,
        array $items = []
    ): self {
        $provider->register($this);
        foreach ($items as $key => $value) {
            $this[$key] = $value;
        }
        return $this;
    }
33042
private static function setKeyAndMethod($driver, $key, $method): void
    {
        $driver->setKey($key);
        if ($method !== null) {
            $driver->setMethod($method);
        }
    }
1104344
public function setProvider(\Core\Entity\Provider $provider = null) {
        $this->provider = $provider;

        return $this;
    }
1237959
public function add(ProviderInterface $provider)
    {
        $container = $this->container;

        $this->container = $provider->register($container);

        $this->providers[] = (string) get_class($provider);

        return $this;
    }
261437
protected function invalidProvider($provider)
    {
        if (is_null($provider)) {
            return true;
        }

        foreach (config('auth.guards') as $guardsConfiguration) {
            if ($guardsConfiguration['provider'] === $provider) {
                return false;
            }
        }

        return true;
    }
925363
public function register(ServiceProviderInterface $provider)
    {
        $provider->register($this);
        $this->providers[get_class($provider)] = $provider;
    }