Same name in other branches
- 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setPrivateKey()
- 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setPrivateKey()
Set private key service.
Parameters
\Drupal\Core\PrivateKey $privateKey: The private key service.
Return value
$this
File
-
src/
AdvaggSettersTrait.php, line 228
Class
- AdvaggSettersTrait
- The trait setters of ADVAGG module.
Namespace
Drupal\advaggCode
public function setPrivateKey(PrivateKey $privateKey) {
$this->privateKey = $privateKey;
return $this;
}