public function toArray()
    {
        return [
            'field' => $this->getRawProperty('field'),
            'from-field' => $this->getRawProperty('fromField'),
            'to-field' => $this->getRawProperty('toField'),
            'is-deleted' => $this->isDeleted,
            'is-added' => $this->isAdded,
        ];
    }
public function toArray()
    {
        return [
            'field' => $this->getRawProperty('field'),
            'from-field' => $this->getRawProperty('fromField'),
            'to-field' => $this->getRawProperty('toField'),
            'is-deleted' => $this->isDeleted,
            'is-added' => $this->isAdded,
        ];
    }
public function toArray ( ) { return [ 'field' => $ this -> getRawProperty ( 'field' ) , 'from-field' => $ this -> getRawProperty ( 'fromField' ) , 'to-field' => $ this -> getRawProperty ( 'toField' ) , 'is-deleted' => $ this -> isDeleted , 'is-added' => $ this -> isAdded , ] ; }
Return current object as an array.

@return array
Return current object as an array .