Pagekit\Installer\SelfUpdater::cleanup PHP Метод

cleanup() защищенный Метод

Scans directory for old files.
protected cleanup ( $fileList, $path ) : array
$fileList
$path
Результат array
    protected function cleanup($fileList, $path)
    {
        $errorList = [];
        foreach ($this->cleanFolder as $dir) {
            array_merge($errorList, $this->doCleanup($fileList, $dir, $path));
        }
        return $errorList;
    }