Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
35 | 14 | public function __construct(CacheManager $cacheManager = null) |
|
36 | { |
||
37 | 14 | if (!$cacheManager) { |
|
38 | 1 | @trigger_error('Instantiating commands without the cache manager is deprecated and will be removed in version 3', E_USER_DEPRECATED); |
|
39 | } |
||
40 | 14 | $this->cacheManager = $cacheManager; |
|
41 | 14 | parent::__construct(); |
|
42 | 14 | } |
|
43 | |||
59 |
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.