Same name in other branches
  1. 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setPrivateKey()
  2. 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setPrivateKey()

Set private key service.

Paramètres

\Drupal\Core\PrivateKey $privateKey: The private key service.

Return value

$this

Fichier

src/AdvaggSettersTrait.php, line 228

Classe

AdvaggSettersTrait
The trait setters of ADVAGG module.

Namespace

Drupal\advagg

Code

public function setPrivateKey(PrivateKey $privateKey) {
    $this->privateKey = $privateKey;
    return $this;
}