PHP Class Flarum\Update\Controller\UpdateController

Inheritance: implements Flarum\Http\Controller\ControllerInterface
Mostra file Open project: flarum/core

Protected Properties

Property Type Description
$app Flarum\Foundation\Application
$command

Public Methods

Method Description
__construct ( MigrateCommand $command, Application $app )
handle ( Psr\Http\Message\ServerRequestInterface $request ) : Psr\Http\Message\ResponseInterface

Method Details

__construct() public method

public __construct ( MigrateCommand $command, Application $app )
$command Flarum\Update\Console\MigrateCommand
$app Flarum\Foundation\Application

handle() public method

public handle ( Psr\Http\Message\ServerRequestInterface $request ) : Psr\Http\Message\ResponseInterface
$request Psr\Http\Message\ServerRequestInterface
return Psr\Http\Message\ResponseInterface

Property Details

$app protected_oe property

protected Application,Flarum\Foundation $app
return Flarum\Foundation\Application

$command protected_oe property

protected $command