c05cdfd28a
This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/tasks/inspections/d3a91d9b-361d-4b6a-ae62-e97f80fb50f8 Enabled analysis tools: - PHP Analyzer - PHP PDepend - PHP Similarity Analyzer - PHP Change Tracking Analyzer
44 lines
811 B
PHP
44 lines
811 B
PHP
<?php
|
|
/**
|
|
* @author Thomas Tanghus
|
|
* @author Thomas Tanghus
|
|
* @copyright 2013-2014 Thomas Tanghus (thomas@tanghus.net)
|
|
*
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later.
|
|
* See the COPYING-README file.
|
|
*/
|
|
|
|
namespace OCA\Tasks;
|
|
|
|
use OCP\AppFramework\IAppContainer;
|
|
use OCP\AppFramework\Controller as BaseController;
|
|
use OCP\IRequest;
|
|
|
|
/**
|
|
* Base Controller class for Issues App
|
|
*/
|
|
class Controller extends BaseController {
|
|
|
|
/**
|
|
* @var Api
|
|
*/
|
|
protected $api;
|
|
|
|
/**
|
|
* @var IRequest
|
|
*/
|
|
protected $request;
|
|
|
|
/**
|
|
* @var OCP\IServerContainer
|
|
*/
|
|
protected $server;
|
|
|
|
public function __construct(IAppContainer $container) {
|
|
$this->api = $container->query('API');
|
|
$this->request = $container->query('Request');
|
|
$this->server = $container->getServer();
|
|
}
|
|
|
|
}
|