CompressableExternalModule   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A beforeCompress() 0 3 1
A afterCompress() 0 3 1
1
<?php declare(strict_types=1);
2
namespace samson\core;
3
4
use samsonframework\core\CompressInterface;
5
6
/**
7
 * Модуль системы поддерживающий сжатие
8
 *
9
 * @author Vitaly Iegorov <[email protected]>
10
 * @deprecated Just implement samsonframework\core\CompressInterface
11
 */
12
class CompressableExternalModule extends ExternalModule implements CompressInterface
13
{
14
    /** @see \samson\core\iModuleCompressable::beforeCompress() */
15
    public function beforeCompress(& $obj = null, array & $code = null)
16
    {
17
    }
18
19
    /** @see \samson\core\iModuleCompressable::compress() */
20
    public function afterCompress(& $obj = null, array & $code = null)
21
    {
22
    }
23
}
24