public function __construct($class = null, array $arguments = array()) { $this->class = $class; $this->arguments = $arguments; }
/** * Constructor. * * @param string $parent The id of Definition instance to decorate. * * @api */ public function __construct($parent) { parent::__construct(); $this->parent = $parent; $this->changes = array(); }