Parable ORM 0.6.1
Pre-release
Pre-release
0.6.1
Changes
AbstractEntity::toArrayWithout(string ...$keys)
will allow you to get an array representation of an entity without the specified keys.AbstractEntity::hasBeenMarkedAsOriginal()
has been added, and can be used to determine whether it was loaded from the database or just saved.AbstractRepository::isStored()
is now available, and will tell you if the ORM thinks the entity has been stored.