File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -513,12 +513,22 @@ SQL
513
513
``` php
514
514
<?php
515
515
516
+ declare(strict_types=1);
517
+
516
518
namespace Guanguans\LaravelSoar\Contracts;
517
519
518
520
use Illuminate\Support\Collection;
519
521
520
522
interface Output
521
523
{
524
+ /**
525
+ * @param \Illuminate\Console\Events\CommandFinished|\Symfony\Component\HttpFoundation\Response $dispatcher
526
+ */
527
+ public function shouldOutput($dispatcher): bool;
528
+
529
+ /**
530
+ * @param \Illuminate\Console\Events\CommandFinished|\Symfony\Component\HttpFoundation\Response $dispatcher
531
+ */
522
532
public function output(Collection $scores, $dispatcher);
523
533
}
524
534
```
Original file line number Diff line number Diff line change @@ -514,12 +514,22 @@ SQL
514
514
``` php
515
515
<?php
516
516
517
+ declare(strict_types=1);
518
+
517
519
namespace Guanguans\LaravelSoar\Contracts;
518
520
519
521
use Illuminate\Support\Collection;
520
522
521
523
interface Output
522
524
{
525
+ /**
526
+ * @param \Illuminate\Console\Events\CommandFinished|\Symfony\Component\HttpFoundation\Response $dispatcher
527
+ */
528
+ public function shouldOutput($dispatcher): bool;
529
+
530
+ /**
531
+ * @param \Illuminate\Console\Events\CommandFinished|\Symfony\Component\HttpFoundation\Response $dispatcher
532
+ */
523
533
public function output(Collection $scores, $dispatcher);
524
534
}
525
535
```
You can’t perform that action at this time.
0 commit comments