Passed
Pull Request — master (#857)
by Georges
01:55
created

UninstanciableObjectTrait::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
rs 10
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