git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move constructor to command base class
[shpub.git]
/
src
/
shpub
/
Command
/
AbstractProps.php
diff --git
a/src/shpub/Command/AbstractProps.php
b/src/shpub/Command/AbstractProps.php
index 08dbc97c21467756df42de795956d5cd0317e150..6d7ef3b8c27c346ca87f0cff8feedafbe56a70ea 100644
(file)
--- a/
src/shpub/Command/AbstractProps.php
+++ b/
src/shpub/Command/AbstractProps.php
@@
-6,6
+6,16
@@
namespace shpub;
*/
class Command_AbstractProps
{
+ /**
+ * @var Config
+ */
+ protected $cfg;
+
+ public function __construct($cfg)
+ {
+ $this->cfg = $cfg;
+ }
+
public static function optsGeneric(\Console_CommandLine_Command $cmd)
{
$cmd->addOption(