Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
10 | 38 | public function read($className) |
|
11 | { |
||
12 | 38 | $fileName = $this->getFilename($className); |
|
13 | 38 | $data = SoftIncluder::includeFile($fileName); |
|
14 | |||
15 | // Only false means not existing cache. |
||
16 | // NOTE: Cache might have valid `empty` |
||
17 | // value, ie. empty array. |
||
18 | 38 | return $data; |
|
19 | } |
||
20 | } |