a4sex/entity-cleaner-bundle

This package's canonical repository appears to be gone and the package has been frozen as a result.

v1.2.10 2024-04-22 06:02 UTC

This package is auto-updated.

Last update: 2024-04-21 23:04:43 UTC


README

#[AutoCleanEntity(enabled: true, period: "90", field: "added")]
#[AutoCleanEntity(enabled: true, every: 10, period: "90", limit: 100, field: "added")]

every - ($number % $every) == 0 - остаток целочисленного деления на $every

Refactoring

vendor/bin/rector process --dry-run --no-diffs vendor/bin/ecs --fix