@@ 317-324 (lines=8) @@ | ||
314 | return (string) $this->getStat(4); |
|
315 | } |
|
316 | ||
317 | public function getOwner() |
|
318 | { |
|
319 | if (!isset($this->_stat['owner'])) { |
|
320 | $this->_stat['owner'] = posix_getpwuid($this->getUid()); |
|
321 | } |
|
322 | ||
323 | return $this->getStat('owner')['name']; |
|
324 | } |
|
325 | ||
326 | public function getGid() |
|
327 | { |
|
@@ 331-338 (lines=8) @@ | ||
328 | return (string) $this->getStat(5); |
|
329 | } |
|
330 | ||
331 | public function getGroup() |
|
332 | { |
|
333 | if (!isset($this->_stat['group'])) { |
|
334 | $this->_stat['group'] = posix_getgrgid($this->getGid()); |
|
335 | } |
|
336 | ||
337 | return $this->getStat('group')['name']; |
|
338 | } |
|
339 | ||
340 | public function getPermissions() |
|
341 | { |