PHP Classes

File: src/Contract/TransformationInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Cipher Sweet   src/Contract/TransformationInterface.php   Download  
File: src/Contract/TransformationInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Cipher Sweet
Encrypt data in away that can be searched
Author: By
Last change:
Date: 6 years ago
Size: 439 bytes
 

Contents

Class file image Download
<?php
namespace ParagonIE\CipherSweet\Contract;

/**
 * Interface TransformationInterface
 * @package ParagonIE\CipherSweet\Contract
 */
interface TransformationInterface
{
   
/**
     * Implementations can define their own prototypes, but
     * this should almost always operate on a string, and must
     * always return a string.
     *
     * @param mixed $input
     * @return string
     */
   
public function __invoke($input);
}