Projekt

Obecné

Profil

Stáhnout (732 Bajtů) Statistiky
| Větev: | Revize:
1
<?php
2

    
3
namespace Illuminate\Session;
4

    
5
use Symfony\Component\HttpFoundation\Request;
6
use Symfony\Component\HttpFoundation\Session\SessionInterface as BaseSessionInterface;
7

    
8
interface SessionInterface extends BaseSessionInterface
9
{
10
    /**
11
     * Get the session handler instance.
12
     *
13
     * @return \SessionHandlerInterface
14
     */
15
    public function getHandler();
16

    
17
    /**
18
     * Determine if the session handler needs a request.
19
     *
20
     * @return bool
21
     */
22
    public function handlerNeedsRequest();
23

    
24
    /**
25
     * Set the request on the handler instance.
26
     *
27
     * @param  \Symfony\Component\HttpFoundation\Request  $request
28
     * @return void
29
     */
30
    public function setRequestOnHandler(Request $request);
31
}
(8-8/13)