propelorm/Propel2

View on GitHub
src/Propel/Generator/Behavior/Archivable/templates/querySetArchiveOnDelete.php
A

No issues here. Congrats!


/**
 * Enable/disable auto-archiving on delete for the next query.
 *
 * @param boolean True if the query must archive deleted objects, false otherwise.
 */
public function setArchiveOnDelete($archiveOnDelete)
{
    $this->archiveOnDelete = $archiveOnDelete;
}

Size

Lines of code
4