public function mode($mode = null)
    {
        if ($mode !== null) {
            $this->mode = (string) $mode;
        }

        return $this->mode;
    }
public function mode($mode = null)
    {
        if ($mode !== null) {
            $this->mode = (string) $mode;
        }

        return $this->mode;
    }
public function mode ( $ mode = null ) { if ( $ mode !== null ) { $ this -> mode = ( string ) $ mode ; } return $ this -> mode ; }
Sets config mode

@param null|string $mode

@return string
Sets config mode