original_string: protected function setSession(BindingSessionInterface $session)
      {
          $this->session = $session;
          $succinct = $session->get(SessionParameter::BROWSER_SUCCINCT);
          $this->succinct = $succinct ?? true;
  
          $this->dateTimeFormat = DateTimeFormat::cast($session->get(SessionParameter::BROWSER_DATETIME_FORMAT));
      }
code: protected function setSession(BindingSessionInterface $session)
      {
          $this->session = $session;
          $succinct = $session->get(SessionParameter::BROWSER_SUCCINCT);
          $this->succinct = $succinct ?? true;
  
          $this->dateTimeFormat = DateTimeFormat::cast($session->get(SessionParameter::BROWSER_DATETIME_FORMAT));
      }
code_tokens: protected function setSession ( BindingSessionInterface $ session ) { $ this -> session = $ session ; $ succinct = $ session -> get ( SessionParameter :: BROWSER_SUCCINCT ) ; $ this -> succinct = $ succinct ?? true ; $ this -> dateTimeFormat = DateTimeFormat :: cast ( $ session -> get ( SessionParameter :: BROWSER_DATETIME_FORMAT ) ) ; }
docstring: Sets the current session.
  
  @param BindingSessionInterface $session
docstring_tokens: Sets the current session .