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

getChanges() public method

Returns all changes tracked for the Definition object.
public getChanges ( ) : array
return array An array of changes for this Definition
    public function getChanges()
    {
        return $this->changes;
    }

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::getChanges