public removePackage ( Sonata\Component\Product\PackageInterface $package ) | ||
$package | Sonata\Component\Product\PackageInterface |
public function removePackage(PackageInterface $package)
{
if ($this->packages->contains($package)) {
$this->packages->removeElement($package);
}
}