Symfony\Component\DependencyInjection\DefinitionDecorator::getParent PHP Method

getParent() public method

Returns the Definition being decorated.
public getParent ( ) : string
return string
    public function getParent()
    {
        return $this->parent;
    }

Usage Example

    public function testConstructor()
    {
        $def = new DefinitionDecorator('foo');

        $this->assertEquals('foo', $def->getParent());
        $this->assertEquals(array(), $def->getChanges());
    }
All Usage Examples Of Symfony\Component\DependencyInjection\DefinitionDecorator::getParent