File Editor
Directories:
.. (Back)
Files:
AbstractLoggerRequest.php
ActivateRequest.php
DeactivateRequest.php
InstallRequest.php
OptInRequest.php
OptOutRequest.php
UninstallRequest.php
Create New File
Create
Edit File: UninstallRequest.php
<?php namespace Analyst\Http\Requests; use Analyst\ApiResponse; use Analyst\Collector; use Analyst\Contracts\RequestorContract; /** * Class DeactivateRequest * * @since 0.9.13 */ class UninstallRequest extends AbstractLoggerRequest { /** * @param Collector $collector * @param $pluginId * @param $path * @return static */ public static function make(Collector $collector, $pluginId, $path) { return new static($collector, $pluginId, $path); } /** * Execute the request * @param RequestorContract $requestor * @return ApiResponse */ public function execute(RequestorContract $requestor) { return $requestor->post('logger/uninstall', $this->toArray()); } }
Save Changes
Rename File
Rename