* Set the session for the scope.
(session?: Session)
| 470 | * Set the session for the scope. |
| 471 | */ |
| 472 | public setSession(session?: Session): this { |
| 473 | if (!session) { |
| 474 | delete this._session; |
| 475 | } else { |
| 476 | this._session = session; |
| 477 | } |
| 478 | this._notifyScopeListeners(); |
| 479 | return this; |
| 480 | } |
| 481 | |
| 482 | /** |
| 483 | * Get the session from the scope. |
no test coverage detected