Doctrine\ORM\PersistentCollection::setDirty
Sets a boolean flag, indicating whether this collection is dirty.
Signature
public function setDirty(boolean
$dirty )
Parameters
$dirty
— boolean- Whether the collection should be marked dirty or not.