public function verifyDirectoryIsReadable($path, $label = 'path') { $this->verifyDirectoryExists($path, $label); if (!is_readable($path)) { throw new Exception(sprintf('Could not read the %s at %s', $label, $path)); } }