tasks/lib/controller.php
Scrutinizer Auto-Fixer c05cdfd28a Scrutinizer Auto-Fixes
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
2014-08-08 09:15:03 +02:00

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();
}
}