Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
62 | public function clear() |
||
63 | { |
||
64 | $iterator = new DirectoryIterator($this->getCacheDir()); |
||
65 | var_dump(posix_getpwuid($iterator->getOwner())); |
||
|
|||
66 | |||
67 | $this->runCommand([ |
||
68 | 'rm', |
||
69 | '-rf', |
||
70 | $this->getCacheDir(), |
||
71 | ], true); |
||
72 | |||
73 | $this->runCommand([ |
||
74 | 'mkdir', |
||
75 | '-p', |
||
76 | $this->getCacheDir(), |
||
77 | ]); |
||
78 | |||
79 | $iterator = new DirectoryIterator($this->getCacheDir()); |
||
80 | var_dump(posix_getpwuid($iterator->getOwner())); |
||
81 | |||
82 | $this->start(); |
||
83 | } |
||
84 | |||
101 |