diff --git a/framework/core/src/Http/WebApp/WebAppView.php b/framework/core/src/Http/WebApp/WebAppView.php index b44df7087..30d40f426 100644 --- a/framework/core/src/Http/WebApp/WebAppView.php +++ b/framework/core/src/Http/WebApp/WebAppView.php @@ -41,6 +41,20 @@ class WebAppView */ protected $description; + /** + * The language of the document, displayed as the value of the attribute `dir` in the tag. + * + * @var null|string + */ + protected $language; + + /** + * The text direction of the document, displayed as the value of the attribute `dir` in the tag. + * + * @var null|string + */ + protected $direction; + /** * The path to the client layout view to display. * @@ -188,6 +202,36 @@ class WebAppView $this->title = $title; } + /** + * The description of the document, displayed in a tag. + * + * @param null|string $description + */ + public function setDescription($description) + { + $this->description = $description; + } + + /** + * The language of the document, displayed as the value of the attribute `dir` in the tag. + * + * @param null|string $language + */ + public function setLanguage($language) + { + $this->language = $language; + } + + /** + * The language of the document, displayed as the value of the attribute `dir` in the tag. + * + * @param null|string $direction + */ + public function setDirection($direction) + { + $this->direction = $direction; + } + /** * Set the SEO content of the page, to be displayed in