getBundleEntity() public method

Get entity
public getBundleEntity ( ) : Bundle
return Knp\Bundle\KnpBundlesBundle\Entity\Bundle
示例#1
0
 /**
  * {@inheritDoc}
  */
 public function matches(Repo $repo)
 {
     $name = $repo->getBundleEntity()->getName();
     return (bool) preg_match($this->pattern, $name);
 }