packagist ulrichsg/getopt-php 3.0.0-alpha.6
Version 3.0.0 alpha 6

latest releases: v4.0.2, dev-master, dev-phpunit-upgrade...
7 years ago

Some slightly changes to the API for Command.

  1. You can now use the OptionParser for commands which enables options from string and from array
  2. The OptionParser is completly static now
  3. You can not have different default modes in different GetOpt instances

Because the OptionParser is static now the default mode is a public static property too. All instances from GetOpt and Command use the same default mode. For backward compatibility you can still use the SETTING_DEFAULT_MODE for GetOpt.

Don't miss a new getopt-php release

NewReleases is sending notifications on new releases.