Skip to content

Commit 3a1ba34

Browse files
[10.x] Add getter for components on IO interaction (#47982)
* feat: Add getter for components on IO interaction * Update InteractsWithIO.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 29c2279 commit 3a1ba34

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Illuminate/Console/Concerns/InteractsWithIO.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,14 @@ public function getOutput()
450450
{
451451
return $this->output;
452452
}
453+
454+
/**
455+
* Get the output component factory implementation.
456+
*
457+
* @return \Illuminate\Console\View\Components\Factory
458+
*/
459+
public function outputComponents()
460+
{
461+
return $this->components;
462+
}
453463
}

0 commit comments

Comments
 (0)