Symfony\Component\HttpKernel\Bundle\Bundle::getParent PHP Method

getParent() public method

Returns the bundle parent name.
public getParent ( ) : string
return string The Bundle parent name it overrides or null if no parent
    public function getParent()
    {
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Overwrite if bundle has a parent
  * @throws \Exception
  */
 public function testGetParent()
 {
     $this->checkSetup();
     $parent = $this->bundle->getParent();
     $this->assertNull($parent);
 }