Overview

Namespaces

  • Evenement
  • None
  • PHP
  • Psr
    • Http
      • Message
  • Ratchet
    • Http
    • RFC6455
      • Handshake
      • Messaging
    • Server
    • Session
      • Serialize
      • Storage
        • Proxy
    • Wamp
    • WebSocket
  • React
    • EventLoop
      • Tick
      • Timer
    • Socket
    • Stream
  • Symfony
    • Component
      • HttpFoundation
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
      • Routing
        • Annotation
        • Exception
        • Generator
          • Dumper
        • Loader
          • DependencyInjection
        • Matcher
          • Dumper
        • Tests
          • Annotation
          • Fixtures
            • AnnotatedClasses
            • OtherAnnotatedClasses
          • Generator
            • Dumper
          • Loader
          • Matcher
            • Dumper

Classes

  • AbstractProxy
  • NativeProxy
  • SessionHandlerProxy
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: /*
 4:  * This file is part of the Symfony package.
 5:  *
 6:  * (c) Fabien Potencier <[email protected]>
 7:  *
 8:  * For the full copyright and license information, please view the LICENSE
 9:  * file that was distributed with this source code.
10:  */
11: 
12: namespace Symfony\Component\HttpFoundation\Session\Storage\Proxy;
13: 
14: /**
15:  * NativeProxy.
16:  *
17:  * This proxy is built-in session handlers in PHP 5.3.x
18:  *
19:  * @author Drak <[email protected]>
20:  */
21: class NativeProxy extends AbstractProxy
22: {
23:     /**
24:      * Constructor.
25:      */
26:     public function __construct()
27:     {
28:         // this makes an educated guess as to what the handler is since it should already be set.
29:         $this->saveHandlerName = ini_get('session.save_handler');
30:     }
31: 
32:     /**
33:      * Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
34:      *
35:      * @return bool False
36:      */
37:     public function isWrapper()
38:     {
39:         return false;
40:     }
41: }
42: 
Ratchet API documentation generated by ApiGen 2.8.0