HttpKernel

class HttpKernel implements HttpKernelInterface, TerminableInterface HttpKernel notifies events to convert a Request object to a Response one. Methods __construct(EventDispatcherInterface $dispatcher, ControllerResolverInterface $resolver, RequestStack $requestStack = null, ArgumentResolverInterface $argumentResolver = null) Response handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) Handles a Request to convert it to a Response. term

HttpFoundationRequestHandler

class HttpFoundationRequestHandler implements RequestHandlerInterface A request processor using the {@link Request} class of the HttpFoundation component. Methods __construct(ServerParams $serverParams = null) {@inheritdoc} handleRequest(FormInterface $form, mixed $request = null) Submits a form if it was submitted. Details __construct(ServerParams $serverParams = null) {@inheritdoc} Parameters ServerParams $serverParams

HttpFoundationExtension::getName()

string getName() Returns the name of the extension. Return Value string The extension name

HttpFoundationExtension::getFunctions()

getFunctions() {@inheritdoc}

HttpFoundationExtension::generateRelativePath()

string generateRelativePath(string $path) Returns a relative path based on the current Request. This method returns the path unchanged if no request is available. Parameters string $path The path Return Value string The relative path See also Request::getRelativeUriForPath()

HttpFoundationExtension::generateAbsoluteUrl()

string generateAbsoluteUrl(string $path) Returns the absolute URL for the given absolute or relative path. This method returns the path unchanged if no request is available. Parameters string $path The path Return Value string The absolute URL See also Request::getUriForPath()

HttpFoundationExtension

class HttpFoundationExtension extends AbstractExtension Integrates the HttpFoundation component with the Form library. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension Boolean hasType(string $name) Returns whether the given type is supported. from AbstractExtension FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. from AbstractExtension Boolean hasTypeExtensions(string $name) R

HttpFoundationExtension

class HttpFoundationExtension extends Twig_Extension Twig extension for the Symfony HttpFoundation component. Methods __construct(RequestStack $requestStack, RequestContext $requestContext = null) getFunctions() {@inheritdoc} string generateAbsoluteUrl(string $path) Returns the absolute URL for the given absolute or relative path. string generateRelativePath(string $path) Returns a relative path based on the current Request. string getName() Returns the name of the e

HttpExceptionInterface

interface HttpExceptionInterface Interface for HTTP error exceptions. Methods int getStatusCode() Returns the status code. array getHeaders() Returns response headers. Details int getStatusCode() Returns the status code. Return Value int An HTTP response status code array getHeaders() Returns response headers. Return Value array Response headers

HttpException

class HttpException extends RuntimeException implements HttpExceptionInterface HttpException. Methods __construct($statusCode, $message = null, Exception $previous = null, array $headers = array(), $code) int getStatusCode() Returns the status code. array getHeaders() Returns response headers. setHeaders(array $headers) Set response headers. Details __construct($statusCode, $message = null, Exception $previous = null, array $headers = arra