Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function __construct( |
||
30 | string $name = null, |
||
31 | CacheManagerInterface $cacheManager = null |
||
32 | ) { |
||
33 | parent::__construct($name); |
||
34 | if (null === $cacheManager) { |
||
35 | @trigger_error(sprintf( |
||
36 | 'Not providing a cache manager to "%s" is deprecated since 3.x and will no longer be possible in 4.0', |
||
37 | \get_class($this) |
||
38 | ), E_USER_DEPRECATED); |
||
39 | } |
||
40 | $this->cacheManager = $cacheManager; |
||
41 | } |
||
42 | |||
52 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.