PHP Class Flarum\Api\Controller\SetSettingsController

Inheritance: implements Flarum\Http\Controller\ControllerInterface, use trait Flarum\Core\Access\AssertPermissionTrait
Show file Open project: flarum/core

Protected Properties

Property Type Description
$dispatcher Illuminate\Contracts\Events\Dispatcher
$settings Flarum\Settings\SettingsRepositoryInterface

Public Methods

Method Description
__construct ( Flarum\Settings\SettingsRepositoryInterface $settings, Illuminate\Contracts\Events\Dispatcher $dispatcher )
handle ( Psr\Http\Message\ServerRequestInterface $request )

Method Details

__construct() public method

public __construct ( Flarum\Settings\SettingsRepositoryInterface $settings, Illuminate\Contracts\Events\Dispatcher $dispatcher )
$settings Flarum\Settings\SettingsRepositoryInterface
$dispatcher Illuminate\Contracts\Events\Dispatcher

handle() public method

public handle ( Psr\Http\Message\ServerRequestInterface $request )
$request Psr\Http\Message\ServerRequestInterface

Property Details

$dispatcher protected property

protected Dispatcher,Illuminate\Contracts\Events $dispatcher
return Illuminate\Contracts\Events\Dispatcher

$settings protected property

protected SettingsRepositoryInterface,Flarum\Settings $settings
return Flarum\Settings\SettingsRepositoryInterface