getPrivateKey example

foreach ($this->getEffects() as $effect) {
      $extension = $effect->getDerivativeExtension($extension);
    }
    return $extension;
  }

  /** * {@inheritdoc} */
  public function getPathToken($uri) {
    // Return the first 8 characters.     return substr(Crypt::hmacBase64($this->id() . ':' . $this->addExtension($uri)$this->getPrivateKey() . $this->getHashSalt()), 0, 8);
  }

  /** * {@inheritdoc} */
  public function deleteImageEffect(ImageEffectInterface $effect) {
    $this->getEffects()->removeInstanceId($effect->getUuid());
    $this->save();
    return $this;
  }

  
Home | Imprint | This part of the site doesn't use cookies.