public function Target::getServices in Drupal 7 to 8/9 Module Upgrader 8
Returns services defined by the target module.
Return value
\Doctrine\Common\Collections\ArrayCollection
Overrides TargetInterface::getServices
File
- src/
Target.php, line 154
Class
- Target
- Default implementation of TargetInterface.
Namespace
Drupal\drupalmoduleupgraderCode
public function getServices() {
if (empty($this->services)) {
$this->services = new ArrayCollection();
}
return $this->services;
}