public function getTargetDiff()
    {
        $liveTarget = $this->Target(true);
        $draftTarget = $this->Target();

        $diff = DataDifferencer::create($liveTarget, $draftTarget);
        $diff->ignoreFields($this->config()->get('diff_ignore_fields'));

        $fields = ArrayList::create();
        try {
            $fields = $diff->ChangedFields();
        } catch (\InvalidArgumentException $iae) {
            // noop
        }

        return $fields;
    }
public function getTargetDiff()
    {
        $liveTarget = $this->Target(true);
        $draftTarget = $this->Target();

        $diff = DataDifferencer::create($liveTarget, $draftTarget);
        $diff->ignoreFields($this->config()->get('diff_ignore_fields'));

        $fields = ArrayList::create();
        try {
            $fields = $diff->ChangedFields();
        } catch (\InvalidArgumentException $iae) {
            // noop
        }

        return $fields;
    }
public function getTargetDiff ( ) { $ liveTarget = $ this -> Target ( true ) ; $ draftTarget = $ this -> Target ( ) ; $ diff = DataDifferencer :: create ( $ liveTarget , $ draftTarget ) ; $ diff -> ignoreFields ( $ this -> config ( ) -> get ( 'diff_ignore_fields' ) ) ; $ fields = ArrayList :: create ( ) ; try { $ fields = $ diff -> ChangedFields ( ) ; } catch ( \ InvalidArgumentException $ iae ) { // noop } return $ fields ; }
Returns the field differences between the older version and current version of Target

@return ArrayList
Returns the field differences between the older version and current version of Target