Merge pull request #32517 from nextcloud/bugfix/noid/make-appname-accessible

Make appName of TemplateResponse accessible in BeforeTemplateRendered…
This commit is contained in:
Daniel 2022-05-20 17:17:58 +02:00 committed by GitHub
commit 1629b55f51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,15 @@ class TemplateResponse extends Response {
}
/**
* @return string the app id of the used template
* @since 25.0.0
*/
public function getApp(): string {
return $this->appName;
}
/**
* Used for accessing the name of the set template
* @return string the name of the used template