class NativeProxy in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Storage/Proxy/NativeProxy.php \Symfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy
NativeProxy.
This proxy is built-in session handlers in PHP 5.3.x
@author Drak <drak@zikula.org>
Hierarchy
- class \Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
- class \Symfony\Component\HttpFoundation\Session\Storage\Proxy\NativeProxy
Expanded class hierarchy of NativeProxy
3 files declare their use of NativeProxy
- NativeProxyTest.php in vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ Proxy/ NativeProxyTest.php - NativeSessionStorage.php in vendor/
symfony/ http-foundation/ Session/ Storage/ NativeSessionStorage.php - NativeSessionStorageTest.php in vendor/
symfony/ http-foundation/ Tests/ Session/ Storage/ NativeSessionStorageTest.php
File
- vendor/
symfony/ http-foundation/ Session/ Storage/ Proxy/ NativeProxy.php, line 21
Namespace
Symfony\Component\HttpFoundation\Session\Storage\ProxyView source
class NativeProxy extends AbstractProxy {
/**
* Constructor.
*/
public function __construct() {
// this makes an educated guess as to what the handler is since it should already be set.
$this->saveHandlerName = ini_get('session.save_handler');
}
/**
* Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
*
* @return bool False.
*/
public function isWrapper() {
return false;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractProxy:: |
protected | property | ||
AbstractProxy:: |
protected | property | ||
AbstractProxy:: |
protected | property | Flag if handler wraps an internal PHP session handler (using \SessionHandler). | |
AbstractProxy:: |
public | function | Gets the session ID. | |
AbstractProxy:: |
public | function | Gets the session name. | |
AbstractProxy:: |
public | function | Gets the session.save_handler name. | |
AbstractProxy:: |
public | function | Has a session started? | |
AbstractProxy:: |
public | function | Is this proxy handler and instance of \SessionHandlerInterface. | |
AbstractProxy:: |
public | function | Sets the active flag. | |
AbstractProxy:: |
public | function | Sets the session ID. | |
AbstractProxy:: |
public | function | Sets the session name. | |
NativeProxy:: |
public | function |
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. Overrides AbstractProxy:: |
|
NativeProxy:: |
public | function | Constructor. |