@@ -31,6 +31,9 @@ |
||
31 | 31 | public $params = []; |
32 | 32 | public $distinct = false; |
33 | 33 | |
34 | + /** |
|
35 | + * @param $instance |
|
36 | + */ |
|
34 | 37 | public function __construct($instance = null) { |
35 | 38 | if (!$instance) { |
36 | 39 | $this->curInstance = \App::$cur->db->connection; |
@@ -58,6 +58,10 @@ |
||
58 | 58 | self::command('install', false, $path); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $command |
|
63 | + * @param string $path |
|
64 | + */ |
|
61 | 65 | static function command($command, $needOutput = true, $path = null) |
62 | 66 | { |
63 | 67 | include_once 'composer/vendor/autoload.php'; |