1 | <?php |
||
2 | |||
3 | namespace WebStream\Cache\Driver; |
||
4 | |||
5 | use WebStream\Container\Container; |
||
0 ignored issues
–
show
|
|||
6 | |||
7 | /** |
||
8 | * ICache |
||
9 | * @author Ryuichi TANAKA. |
||
10 | * @since 2015/07/05 |
||
11 | * @version 0.7 |
||
12 | */ |
||
13 | interface ICache |
||
14 | { |
||
15 | /** |
||
16 | * Constructor |
||
17 | * @param Container $container 依存コンテナ |
||
18 | */ |
||
19 | public function __construct(Container $container); |
||
20 | |||
21 | /** |
||
22 | * キャッシュを登録する |
||
23 | * @param mixed $key キャッシュキー |
||
24 | * @param mixed $value キャッシュ値 |
||
25 | * @param int $ttl キャッシュ保持期間(秒) |
||
26 | * @param bool $overwrite 上書きフラグ |
||
27 | * @return bool |
||
28 | */ |
||
29 | public function add($key, $value, $ttl = 0, $overwrite = false): bool; |
||
30 | |||
31 | /** |
||
32 | * キャッシュを取得する |
||
33 | * @param mixed $key キャッシュキー |
||
34 | * @return mixed キャッシュ値 |
||
35 | */ |
||
36 | public function get($key); |
||
37 | |||
38 | /** |
||
39 | * キャッシュを削除する |
||
40 | * @param mixed $key キャッシュキー |
||
41 | * @return bool キャッシュ削除結果 |
||
42 | */ |
||
43 | public function delete($key): bool; |
||
44 | |||
45 | /** |
||
46 | * キャッシュをすべて削除する |
||
47 | * @return bool キャッシュ削除結果 |
||
48 | */ |
||
49 | public function clear(): bool; |
||
50 | } |
||
51 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths