\DebugBarHttpDriverInterface

Provides an abstraction of PHP native features for easier integration in third party frameworks

Summary

Methods
Constants
setHeaders()
isSessionStarted()
setSessionValue()
hasSessionValue()
getSessionValue()
deleteSessionValue()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setHeaders()

setHeaders(array  $headers) : 

Sets HTTP headers

Parameters

array $headers

Returns

isSessionStarted()

isSessionStarted() : boolean

Checks if the session is started

Returns

boolean

setSessionValue()

setSessionValue(string  $name, string  $value) 

Sets a value in the session

Parameters

string $name
string $value

hasSessionValue()

hasSessionValue(string  $name) : boolean

Checks if a value is in the session

Parameters

string $name

Returns

boolean

getSessionValue()

getSessionValue(string  $name) : mixed

Returns a value from the session

Parameters

string $name

Returns

mixed

deleteSessionValue()

deleteSessionValue(string  $name) 

Deletes a value from the session

Parameters

string $name