ManaPHP\Renderer::getSection PHP Метод

getSection() публичный Метод

Get the string contents of a section.
public getSection ( string $section, string $default = '' ) : string
$section string
$default string
Результат string
    public function getSection($section, $default = '')
    {
        if (isset($this->_sections[$section])) {
            return $this->_sections[$section];
        } else {
            return $default;
        }
    }