| 1 | <?php |
||
| 29 | trait SessionAwareTrait |
||
| 30 | { |
||
| 31 | use DefaultSessionAwareTrait; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var SessionInterface |
||
| 35 | * @access protected |
||
| 36 | */ |
||
| 37 | protected $session; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritDoc} |
||
| 41 | */ |
||
| 42 | public function setSession(SessionInterface $session = null) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc} |
||
| 50 | */ |
||
| 51 | public function getSession()/*# : SessionInterface */ |
||
| 59 | } |
||
| 60 |