Parable PHP Framework 0.9.1
Pre-release
Pre-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 returntrue
.
Bugfixes
\Parable\ORM\Database
now overwrites__debugInfo
so it won't bevar_dump
'ed/print_r
'ed into giving out database credentials.\Parable\ORM\Database::NULL_VALUE
has been added to set aNULL
value that'll actually set a SQL field toNULL
. 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.