App\Core\Controller::getLayoutName PHP Méthode

getLayoutName() public méthode

Return the current Layout (class) name.
public getLayoutName ( ) : string
Résultat string
    public function getLayoutName()
    {
        if ($this->layout instanceof View) {
            return class_name($this->layout);
        } else {
            if (is_string($this->layout)) {
                return $this->layout;
            }
        }
    }