mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Allow to pass data to renderer
This commit is contained in:
parent
d687f02951
commit
098fe4130a
|
|
@ -245,7 +245,7 @@ abstract class ViewAbstract implements \Serializable
|
|||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
*/
|
||||
public function render() : string
|
||||
public function render(...$data) : string
|
||||
{
|
||||
$path = __DIR__ . '/../..' . $this->template . '.tpl.php';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user