Model interface
Magic model interface
DAO Interface
Documentation: save can also throw LogicException
Abstract DAO for PDO database engine
Updated the abstract model to interact with the DAO and the new ModelInterface and MagicModelInterface
Support for saving a model based off set properties where the DAO doesnt explicitally know the fields in question
Made model hydrate on construction optional
actually making it optional now
idiot
Had to remove the array type hint to support pimple as well as arrays. Added a bit of code to the abstractmodel constructor which throws an InvalidArgumentException if the container isnt either array or arrayaccess.
DAO Interface fix
More interface related fixes
Must learn to spell...
Should be working now
Finally fixed
Hopefully the final set of fixes for the night...
Think I've cracked it
sleep time
insert and update working well now