original_string: protected function renderSidenav($sidenavId)
      {
          return SideNav::widget([
              'items' => $this->sidenavItems,
              'renderToggleButton' => false,
              'clientOptions' => $this->sidenavClientOptions,
              'options' => ['id' => $sidenavId],
          ]);
      }
code: protected function renderSidenav($sidenavId)
      {
          return SideNav::widget([
              'items' => $this->sidenavItems,
              'renderToggleButton' => false,
              'clientOptions' => $this->sidenavClientOptions,
              'options' => ['id' => $sidenavId],
          ]);
      }
code_tokens: protected function renderSidenav ( $ sidenavId ) { return SideNav :: widget ( [ 'items' => $ this -> sidenavItems , 'renderToggleButton' => false , 'clientOptions' => $ this -> sidenavClientOptions , 'options' => [ 'id' => $ sidenavId ] , ] ) ; }
docstring: Renders the side navigation and corresponding toggle button.
  @param $sidenavId
  @return string the rendered side navigation markup.
  @throws \Exception
docstring_tokens: Renders the side navigation and corresponding toggle button .