Mercurial > hg > rc1
comparison vendor/pear/console_commandline/Console/CommandLine/Result.php @ 0:1e000243b222
vanilla 1.3.3 distro, I hope
author | Charlie Root |
---|---|
date | Thu, 04 Jan 2018 15:50:29 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1e000243b222 |
---|---|
1 <?php | |
2 | |
3 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ | |
4 | |
5 /** | |
6 * This file is part of the PEAR Console_CommandLine package. | |
7 * | |
8 * PHP version 5 | |
9 * | |
10 * LICENSE: This source file is subject to the MIT license that is available | |
11 * through the world-wide-web at the following URI: | |
12 * http://opensource.org/licenses/mit-license.php | |
13 * | |
14 * @category Console | |
15 * @package Console_CommandLine | |
16 * @author David JEAN LOUIS <izimobil@gmail.com> | |
17 * @copyright 2007 David JEAN LOUIS | |
18 * @license http://opensource.org/licenses/mit-license.php MIT License | |
19 * @version CVS: $Id$ | |
20 * @link http://pear.php.net/package/Console_CommandLine | |
21 * @since File available since release 0.1.0 | |
22 * @filesource | |
23 */ | |
24 | |
25 /** | |
26 * A lightweight class to store the result of the command line parsing. | |
27 * | |
28 * @category Console | |
29 * @package Console_CommandLine | |
30 * @author David JEAN LOUIS <izimobil@gmail.com> | |
31 * @copyright 2007 David JEAN LOUIS | |
32 * @license http://opensource.org/licenses/mit-license.php MIT License | |
33 * @version Release: @package_version@ | |
34 * @link http://pear.php.net/package/Console_CommandLine | |
35 * @since Class available since release 0.1.0 | |
36 */ | |
37 class Console_CommandLine_Result | |
38 { | |
39 // Public properties {{{ | |
40 | |
41 /** | |
42 * The result options associative array. | |
43 * Key is the name of the option and value its value. | |
44 * | |
45 * @var array $options Result options array | |
46 */ | |
47 public $options = array(); | |
48 | |
49 /** | |
50 * The result arguments array. | |
51 * | |
52 * @var array $args Result arguments array | |
53 */ | |
54 public $args = array(); | |
55 | |
56 /** | |
57 * Name of the command invoked by the user, false if no command invoked. | |
58 * | |
59 * @var string $command_name Result command name | |
60 */ | |
61 public $command_name = false; | |
62 | |
63 /** | |
64 * A result instance for the subcommand. | |
65 * | |
66 * @var Console_CommandLine_Result Result instance for the subcommand | |
67 */ | |
68 public $command = false; | |
69 | |
70 // }}} | |
71 } |