Passed
Push — v9 ( 467cbb...1836cb )
by Georges
03:07 queued 24s
created

UninstanciableObjectTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 4
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
/**
4
 *
5
 * This file is part of Phpfastcache.
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For full copyright and license information, please see the docs/CREDITS.txt and LICENCE files.
10
 *
11
 * @author Georges.L (Geolim4)  <[email protected]>
12
 * @author Contributors  https://github.com/PHPSocialNetwork/phpfastcache/graphs/contributors
13
 */
14
15
declare(strict_types=1);
16
17
namespace Phpfastcache\Helper;
18
19
use DateInterval;
20
use DateTime;
21
use Phpfastcache\CacheManager;
22
use Phpfastcache\Config\ConfigurationOptionInterface;
23
use Phpfastcache\Core\Item\ExtendedCacheItemInterface;
24
use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface;
25
use Phpfastcache\Exceptions\PhpfastcacheDriverCheckException;
26
use Phpfastcache\Exceptions\PhpfastcacheDriverException;
27
use Phpfastcache\Exceptions\PhpfastcacheDriverNotFoundException;
28
use Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException;
29
use Phpfastcache\Exceptions\PhpfastcacheLogicException;
30
use Phpfastcache\Exceptions\PhpfastcacheRootException;
31
use Phpfastcache\Exceptions\PhpfastcacheSimpleCacheException;
32
use Psr\Cache\InvalidArgumentException;
33
use Psr\SimpleCache\CacheInterface;
34
use Traversable;
35
36
trait UninstanciableObjectTrait
37
{
38
    final protected function __construct()
39
    {
40
        // The target class is not meant to be instantiated
41
    }
42
}
43