public function __construct($srcPath, Node $node) { parent::__construct($srcPath, self::ADD_NODE); $this->node = $node; }
/** * @param string $srcPath Absolute path of the property to remove. * @param Property $property Property object to be removed. */ public function __construct($srcPath, Property $property) { parent::__construct($srcPath, self::REMOVE_PROPERTY); $this->property = $property; }