You are here

protected function LocalPackagesTrait::deleteCopiedPackages in Automatic Updates 8.2

Deletes all copied packages.

See also

::copyPackage()

1 call to LocalPackagesTrait::deleteCopiedPackages()
CoreUpdateTest::tearDown in tests/src/Build/CoreUpdateTest.php

File

tests/src/Traits/LocalPackagesTrait.php, line 45

Class

LocalPackagesTrait
Provides methods for interacting with installed Composer packages.

Namespace

Drupal\Tests\automatic_updates\Traits

Code

protected function deleteCopiedPackages() : void {
  (new SymfonyFilesystem())
    ->remove($this->copiedPackages);
}