samsonos/php_core

View on GitHub
src/deprecated/iCompressable.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * Created by Vitaly Iegorov <egorov@samsonos.com>
 * on 19.09.2014 at 19:31
 */
namespace samson\core;

use samsonframework\core\CompressInterface;

 /**
  * Give ability to compress code
  * @author Vitaly Egorov <egorov@samsonos.com>
  * @copyright 2014 SamsonOS
  * @deprecated Use samsonframework\core\CompressInterface
  */
interface iCompressable extends CompressInterface
{
    /**
     * Generic code transformation
     * @param string $input Code to be compressed
     * @param string $output Returned compressed code
     * @return bool True if code transformation actionally happened
     */
    function transform($input, & $output);
}