You are here

SecretInterface.php in Lockr 4.x

Same filename and directory in other branches
  1. 8.4 src/SecretInterface.php

Namespace

Drupal\lockr

File

src/SecretInterface.php
View source
<?php

namespace Drupal\lockr;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Secrets represent metadata about secrets stored in Lockr.
 */
interface SecretInterface extends ConfigEntityInterface {

  /**
   * Gets the ID of the key associated with this secret.
   */
  public function getKeyId();

  /**
   * Sets the key ID for this secret.
   */
  public function setKeyId($key_id);

  /**
   * Gets the info for this secret.
   */
  public function getInfo();

  /**
   * Sets the info for this secret.
   */
  public function setInfo(array $info);

}

Interfaces

Namesort descending Description
SecretInterface Secrets represent metadata about secrets stored in Lockr.