Knp\Bundle\KnpBundlesBundle\Git\Repo::getBundleEntity PHP Метод

getBundleEntity() публичный Метод

Get entity
public getBundleEntity ( ) : Bundle
Результат Knp\Bundle\KnpBundlesBundle\Entity\Bundle
    public function getBundleEntity()
    {
        return $this->entity;
    }

Usage Example

Пример #1
0
 /**
  * {@inheritDoc}
  */
 public function matches(Repo $repo)
 {
     $name = $repo->getBundleEntity()->getName();
     return (bool) preg_match($this->pattern, $name);
 }