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

getParent() public method

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

Usage Example

Example #1
0
    public function testConstructor()
    {
        $def = new ChildDefinition('foo');

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