Skip to content

Parable PHP Framework 0.9.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@devvoh devvoh released this 22 Feb 21:20
· 257 commits to master since this release

0.9.1

Changes

  • \Parable\Console now supports Options. Check \Parable\Console\Command::addOption(...) for how to use it. You can use \Parable\Console\Parameter::getOption('string') to get the Option's value. If it is passed but doesn't have a value given and no defaultValue, it'll return true.

Bugfixes

  • \Parable\ORM\Database now overwrites __debugInfo so it won't be var_dump'ed/print_r'ed into giving out database credentials.
  • \Parable\ORM\Database::NULL_VALUE has been added to set a NULL value that'll actually set a SQL field to NULL. Before the string value 'null' would do this, but that's unfair to all the people who have Null as their last name. Any other empty (but not 0) value will skip the field when saving to the database.