samsonos/php_core

View on GitHub
src/CompressableExternalModule.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);
namespace samson\core;

use samsonframework\core\CompressInterface;

/**
 * Модуль системы поддерживающий сжатие
 *
 * @author Vitaly Iegorov <vitalyiegorov@gmail.com>
 * @deprecated Just implement samsonframework\core\CompressInterface
 */
class CompressableExternalModule extends ExternalModule implements CompressInterface
{
    /** @see \samson\core\iModuleCompressable::beforeCompress() */
    public function beforeCompress(& $obj = null, array & $code = null)
    {
    }

    /** @see \samson\core\iModuleCompressable::compress() */
    public function afterCompress(& $obj = null, array & $code = null)
    {
    }
}