Parable PHP Framework 0.9.5
Pre-release
Pre-release
0.9.5
Changes
- It should now be easier to build your own Console Commands. You can extend the
\Parable\Console\Command
class and implementrun()
. This will automatically get called. If there's norun()
defined, the base class will attempt to run the callback if it's defined. \Parable\Console\App
has gainedgetCommands()
, which will help when the\Parable\Console\Commands\Help
class lands, probably in 0.9.6.\Parable\Console\Input
has gainedgetHidden()
, which hides the characters the user types in. Only works on *nix systems.\Parable\Console\Input
has gainedgetYesNo(bool)
, to ask Y/n or y/N questions. 'Y/n' (passingtrue
) will returntrue
on either 'y' or an empty string. 'y/N' (passingfalse
) will only returntrue
on a 'y'.src/parable
has been updated to use the above logic.
Bugfixes
\Parable\Auth\Authentication
was unable to return the user upon authenticating. This was becauseinitialize()
actually loaded the User model, but was only called on construct.getUser()
now callsinitialize()
if there's no user set yet.