Merge pull request #104 from getopt-php/getters
use magic getter for easier access to attributes
Showing
- resources/commands.php 4 additions, 4 deletionsresources/commands.php
- resources/options.php 5 additions, 5 deletionsresources/options.php
- resources/usage.php 2 additions, 2 deletionsresources/usage.php
- src/Argument.php 2 additions, 0 deletionssrc/Argument.php
- src/Command.php 44 additions, 4 deletionssrc/Command.php
- src/GetOpt.php 15 additions, 13 deletionssrc/GetOpt.php
- src/Operand.php 12 additions, 2 deletionssrc/Operand.php
- src/Option.php 57 additions, 5 deletionssrc/Option.php
- src/WithMagicGetter.php 15 additions, 0 deletionssrc/WithMagicGetter.php
- src/WithOptions.php 4 additions, 4 deletionssrc/WithOptions.php
- test/CommandTest.php 4 additions, 4 deletionstest/CommandTest.php
- test/MagicGettersTest.php 139 additions, 0 deletionstest/MagicGettersTest.php
- test/OptionParserTest.php 17 additions, 17 deletionstest/OptionParserTest.php
- test/Options/CommonTest.php 6 additions, 6 deletionstest/Options/CommonTest.php
- test/Options/ValueTest.php 2 additions, 2 deletionstest/Options/ValueTest.php
Loading
Please register or sign in to comment