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));
    }
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));
    }
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 ) ) ; }
Sets the current session.

@param BindingSessionInterface $session
Sets the current session .