PHP Class Recca0120\Terminal\Http\Controllers\TerminalController

Inheritance: extends Illuminate\Routing\Controller
显示文件 Open project: recca0120/laravel-terminal

Protected Properties

Property Type Description
$request
$responseFactory

Public Methods

Method Description
__construct ( Illuminate\Http\Request $request, Illuminate\Contracts\Routing\ResponseFactory $responseFactory )
endpoint ( TerminalManager $terminalManger ) : mixed rpc response.
index ( TerminalManager $terminalManger, string $view = 'index' ) : mixed index.
media ( Illuminate\Filesystem\Filesystem $filesystem, string $file ) : Illuminate\Http\Response media.

Method Details

__construct() public method

public __construct ( Illuminate\Http\Request $request, Illuminate\Contracts\Routing\ResponseFactory $responseFactory )
$request Illuminate\Http\Request
$responseFactory Illuminate\Contracts\Routing\ResponseFactory

endpoint() public method

rpc response.
public endpoint ( TerminalManager $terminalManger ) : mixed
$terminalManger Recca0120\Terminal\TerminalManager
return mixed

index() public method

index.
public index ( TerminalManager $terminalManger, string $view = 'index' ) : mixed
$terminalManger Recca0120\Terminal\TerminalManager
$view string
return mixed

media() public method

media.
public media ( Illuminate\Filesystem\Filesystem $filesystem, string $file ) : Illuminate\Http\Response
$filesystem Illuminate\Filesystem\Filesystem
$file string
return Illuminate\Http\Response

Property Details

$request protected_oe property

protected $request

$responseFactory protected_oe property

protected $responseFactory