Plugin to allow visitor contributions to WordPress posts, wiki style.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
456 B

  1. <?php
  2. namespace Caxy\HtmlDiff;
  3. class Operation
  4. {
  5. public $action;
  6. public $startInOld;
  7. public $endInOld;
  8. public $startInNew;
  9. public $endInNew;
  10. public function __construct($action, $startInOld, $endInOld, $startInNew, $endInNew)
  11. {
  12. $this->action = $action;
  13. $this->startInOld = $startInOld;
  14. $this->endInOld = $endInOld;
  15. $this->startInNew = $startInNew;
  16. $this->endInNew = $endInNew;
  17. }
  18. }