lib/providers/BaseProvider.php
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;
    }
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;
    }
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 ; }
Sets the master key pair provider for use in secure key pairs

@param ProviderInterface|array   $provider   The key pair provider for the master key
Sets the master key pair provider for use in secure key pairs