20250514#1
This commit is contained in:
@@ -73,6 +73,15 @@ class Content implements TemplateInterface {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $data
|
||||
* @return void
|
||||
*/
|
||||
public function addData(array $data = []) : void {
|
||||
foreach ($data as $dataKey => $dataVal){
|
||||
$this->{$dataKey} = $dataVal;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
@@ -111,6 +120,8 @@ class Content implements TemplateInterface {
|
||||
$this->addSubtemplate($point, $subtemplate, $resource);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user