cleanReferencingAddedAndRemovedMeta() public method

public cleanReferencingAddedAndRemovedMeta ( string $table, string | null $viaColumn = null, Filtering $filtering = null, string | null $strategy = null )
$table string
$viaColumn string | null
$filtering Filtering
$strategy string | null
Example #1
0
 /**
  * Marks entity as non-modified (isModified returns false right after this method call)
  */
 public function markAsUpdated()
 {
     $this->row->markAsUpdated();
     foreach ($this->getCurrentReflection()->getEntityProperties() as $property) {
         if ($property->hasRelationship() and $property->getRelationship() instanceof Relationship\HasMany) {
             $relationship = $property->getRelationship();
             $this->row->cleanReferencingAddedAndRemovedMeta($relationship->getRelationshipTable(), $relationship->getColumnReferencingSourceTable(), null, $relationship->getStrategy());
         }
     }
 }