Skip to content

Commit 3d23644

Browse files
committed
populated pathPHP pathConsole when command class is invoked
1 parent f451a6a commit 3d23644

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/PatternLab/Console/Command.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,22 @@
1010

1111
namespace PatternLab\Console;
1212

13+
use \PatternLab\Config;
14+
use \PatternLab\Console;
1315
use \PatternLab\Timer;
1416

1517
class Command {
1618

19+
protected $pathPHP;
20+
protected $pathConsole;
21+
1722
/**
1823
* Set-up a default var
1924
*/
2025
public function __construct() {
2126

22-
// nothing here yet
27+
$this->pathPHP = Console::getPathPHP();
28+
$this->pathConsole = Console::getPathConsole();
2329

2430
}
2531

0 commit comments

Comments
 (0)