Skip to content

Commit 70dda95

Browse files
authored
Add input and output properties to Command (laravel#259)
* Add input and output properties to Command * Add Laravel 9 build
1 parent 3690d6d commit 70dda95

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: true
1818
matrix:
1919
php: [7.2, 7.3, 7.4, '8.0', 8.1, 8.2]
20-
laravel: [6, 7, 8]
20+
laravel: [6, 7, 8, 9]
2121
exclude:
2222
- php: 7.2
2323
laravel: 8

src/Console/Command.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@
99

1010
trait Command
1111
{
12+
/**
13+
* The console command input.
14+
*
15+
* @var array
16+
*/
17+
protected $input;
18+
19+
/**
20+
* The console command output.
21+
*
22+
* @var array
23+
*/
24+
protected $output;
25+
1226
/**
1327
* Execute the command.
1428
*

0 commit comments

Comments
 (0)