22 lines
370 B
PHP
22 lines
370 B
PHP
|
<?php namespace Illuminate\Contracts\Console;
|
||
|
|
||
|
interface Application {
|
||
|
|
||
|
/**
|
||
|
* Call a console application command.
|
||
|
*
|
||
|
* @param string $command
|
||
|
* @param array $parameters
|
||
|
* @return int
|
||
|
*/
|
||
|
public function call($command, array $parameters = array());
|
||
|
|
||
|
/**
|
||
|
* Get the output from the last command.
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function output();
|
||
|
|
||
|
}
|