protected filterPackagesByType ( array &$packages, string $packageType ) : array |
||
$packages | array | Array of PackageInterface objects to be filtered |
$packageType | string | Filter out anything that's not of this packageType |
return | array |