mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-04-02 20:08:41 +00:00
Extending view
This way no GenericView should be required.
This commit is contained in:
parent
40ce6cbd05
commit
cb170e3229
|
|
@ -196,4 +196,26 @@ class View extends ViewAbstract
|
|||
return $this->app->l11nManager->getText($this->l11n->getLanguage(), $module, $theme, $translation);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Request
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function getRequest()
|
||||
{
|
||||
return $this->request;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Response
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function getResponse() : Response
|
||||
{
|
||||
return $this->response;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user