blob: ba628c9f215d2976cc74d6beaf100071fc25bce7 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Console;
4
5interface Application
6{
7 /**
8 * Run an Artisan console command by name.
9 *
10 * @param string $command
11 * @param array $parameters
12 * @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer
13 * @return int
14 */
15 public function call($command, array $parameters = [], $outputBuffer = null);
16
17 /**
18 * Get the output from the last command.
19 *
20 * @return string
21 */
22 public function output();
23}