| [ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 268 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
MockArraySessionStorage:: (17 methods):
__construct()
setSessionData()
start()
regenerate()
getId()
setId()
getName()
setName()
save()
clear()
registerBag()
getBag()
isStarted()
setMetadataBag()
getMetadataBag()
generateId()
loadSession()
Class: MockArraySessionStorage - X-Ref
MockArraySessionStorage mocks the session for unit tests.| __construct($name = 'MOCKSESSID', MetadataBag $metaBag = null) X-Ref |
| Constructor. param: string $name Session name param: MetadataBag $metaBag MetadataBag instance. |
| setSessionData(array $array) X-Ref |
| Sets the session data. param: array $array |
| start() X-Ref |
| {@inheritdoc} |
| regenerate($destroy = false, $lifetime = null) X-Ref |
| {@inheritdoc} |
| getId() X-Ref |
| {@inheritdoc} |
| setId($id) X-Ref |
| {@inheritdoc} |
| getName() X-Ref |
| {@inheritdoc} |
| setName($name) X-Ref |
| {@inheritdoc} |
| save() X-Ref |
| {@inheritdoc} |
| clear() X-Ref |
| {@inheritdoc} |
| registerBag(SessionBagInterface $bag) X-Ref |
| {@inheritdoc} |
| getBag($name) X-Ref |
| {@inheritdoc} |
| isStarted() X-Ref |
| {@inheritdoc} |
| setMetadataBag(MetadataBag $bag = null) X-Ref |
| Sets the MetadataBag. param: MetadataBag $bag |
| getMetadataBag() X-Ref |
| Gets the MetadataBag. return: MetadataBag |
| generateId() X-Ref |
| Generates a session ID. This doesn't need to be particularly cryptographically secure since this is just a mock. return: string |
| loadSession() X-Ref |
| No description |
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |