src/Context.php
public function getSection($name, $default = '')
    {

        if ($this->getSectionCollection()->has($name)) {

            return $this->getSectionCollection()->get($name);
        }

        return $default;
    }
public function getSection($name, $default = '')
    {

        if ($this->getSectionCollection()->has($name)) {

            return $this->getSectionCollection()->get($name);
        }

        return $default;
    }
public function getSection ( $ name , $ default = '' ) { if ( $ this -> getSectionCollection ( ) -> has ( $ name ) ) { return $ this -> getSectionCollection ( ) -> get ( $ name ) ; } return $ default ; }
Gives the value of a initialized section

@param string $name
@param string $default
@return string
Gives the value of a initialized section