ApaiIO\Configuration\GenericConfiguration::setSecretKey PHP Method

setSecretKey() public method

Sets the secretkey
public setSecretKey ( string $secretKey ) : GenericConfiguration
$secretKey string
return GenericConfiguration
    public function setSecretKey($secretKey)
    {
        $this->secretKey = $secretKey;
        return $this;
    }

Usage Example

 public function testGettersAndSetters()
 {
     $this->genericConfiguration->setAccessKey('ABC');
     $this->genericConfiguration->setSecretKey('DEF');
     $this->genericConfiguration->setAssociateTag('GHI');
     $this->assertSame('ABC', $this->genericConfiguration->getAccessKey());
     $this->assertSame('DEF', $this->genericConfiguration->getSecretKey());
     $this->assertSame('GHI', $this->genericConfiguration->getAssociateTag());
 }
All Usage Examples Of ApaiIO\Configuration\GenericConfiguration::setSecretKey