public function watch($files) { $files = (array) $files; foreach ($files as $file) { $path = realpath($file); $this->_watched[$path] = $path; } $this->refreshWatched(); }