public function __construct($files, $dirname) { $this->files = $files; $this->dirname = rtrim($dirname, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; }