SessionStorageInterface::clear()

clear() Clear all session data in memory.

StreamedResponse

class StreamedResponse extends Response StreamedResponse represents a streamed HTTP response. A StreamedResponse uses a callback for its content. The callback should use the standard PHP functions like echo to stream the response back to the client. The flush() method can also be used if needed. Constants HTTP_CONTINUE HTTP_SWITCHING_PROTOCOLS HTTP_PROCESSING HTTP_OK HTTP_CREATED HTTP_ACCEPTED HTTP_NON_AUTHORITATIVE_INFORMATION HTTP_NO_CONTENT HTTP_RESET_CONT

Entry::setAttribute()

setAttribute(string $name, array $value) Sets a value for the given attribute. Parameters string $name array $value

FormConfigInterface::getAttribute()

mixed getAttribute(string $name, mixed $default = null) Returns the value of the given attribute. Parameters string $name The attribute name mixed $default The value returned if the attribute does not exist Return Value mixed The attribute value

DbalSessionHandler::destroy()

destroy($sessionId) {@inheritdoc} Parameters $sessionId

Kernel::getRootDir()

string getRootDir() Gets the application root dir. Return Value string The application root dir

Crawler::registerNamespace()

registerNamespace(string $prefix, string $namespace) Parameters string $prefix string $namespace

StopwatchPeriod

class StopwatchPeriod Represents an Period for an Event. Methods __construct(int $start, int $end) Constructor. int getStartTime() Gets the relative time of the start of the period. int getEndTime() Gets the relative time of the end of the period. int getDuration() Gets the time spent in this period. int getMemory() Gets the memory usage. Details __construct(int $start, int $end) Constructor. Parameters int $start The rel

TokenStorageInterface::removeToken()

string|null removeToken(string $tokenId) Removes a CSRF token. Parameters string $tokenId The token ID Return Value string|null Returns the removed token if one existed, NULL otherwise

AdapterInterface::escape()

string escape(string $subject, string $ignore = '', int $flags) Escape a string for use in an LDAP filter or DN. Parameters string $subject string $ignore int $flags Return Value string