Symfony\Component\HttpKernel\Bundle\Bundle::getParent PHP Метод

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

Returns the bundle parent name.
public getParent ( ) : string
Результат string The Bundle parent name it overrides or null if no parent
    public function getParent()
    {
    }

Usage Example

Пример #1
0
 /**
  * Overwrite if bundle has a parent
  * @throws \Exception
  */
 public function testGetParent()
 {
     $this->checkSetup();
     $parent = $this->bundle->getParent();
     $this->assertNull($parent);
 }