getLang method

Get language value from setLang method.

Basic Usage

The basic usage for getLang method is:

getLang(): string

Parameters

There is no parameter available for getLang method.

Example Usage

Here is the full example of getLang method in a layout file.

<!DOCTYPE html>
<html lang="<?=$this->getLang()?>">
...