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