function UnpackCollection::count

Same name and namespace in other branches
  1. 11.x composer/Plugin/RecipeUnpack/UnpackCollection.php \Drupal\Composer\Plugin\RecipeUnpack\UnpackCollection::count()

File

composer/Plugin/RecipeUnpack/UnpackCollection.php, line 66

Class

UnpackCollection
A collection with packages to unpack.

Namespace

Drupal\Composer\Plugin\RecipeUnpack

Code

public function count() : int {
  return count($this->packagesToUnpack);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.