mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-16 14:48:41 +00:00
Fix tests/coverage
This commit is contained in:
parent
900e5c6242
commit
44535164bb
|
|
@ -19,16 +19,31 @@ use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\ResponseAbstract;
|
use phpOMS\Message\ResponseAbstract;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Component view.
|
||||||
|
*
|
||||||
|
* @package TBD
|
||||||
|
* @license OMS License 1.0
|
||||||
|
* @link http://website.orange-management.de
|
||||||
|
* @since 1.0.0
|
||||||
|
* @codeCoverageIgnore
|
||||||
|
*/
|
||||||
class BaseView extends View
|
class BaseView extends View
|
||||||
{
|
{
|
||||||
protected $tasks = [];
|
protected $tasks = [];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
|
||||||
{
|
{
|
||||||
parent::__construct($app, $request, $response);
|
parent::__construct($app, $request, $response);
|
||||||
$this->setTemplate('/Modules/Tasks/Theme/Backend/Components/Tasks/list');
|
$this->setTemplate('/Modules/Tasks/Theme/Backend/Components/Tasks/list');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
public function render(...$data) : string
|
public function render(...$data) : string
|
||||||
{
|
{
|
||||||
$this->tasks = $data[0];
|
$this->tasks = $data[0];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user