public function getBundleEntity() { return $this->entity; }
/** * {@inheritDoc} */ public function matches(Repo $repo) { $name = $repo->getBundleEntity()->getName(); return (bool) preg_match($this->pattern, $name); }