ICanBoogie/HTTP v2.4.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Exception
    • HTTP
      • Dispatcher
      • Headers
      • Request

Classes

  • CallableDispatcher
  • Dispatcher
  • File
  • FileInfo
  • FileList
  • Headers
  • Helpers
  • RedirectResponse
  • Request
  • Response
  • Status
  • WeightedDispatcher

Interfaces

  • DispatcherInterface
  • Exception

Exceptions

  • DispatcherNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • ServiceUnavailable
  • StatusCodeNotValid

Functions

  • dispatch
  • get_dispatcher
  • get_initial_request

Class Helpers

Patchable helpers of the HTTP package.

The following helpers can be patched:

  • dispatch
  • get_dispatcher
Namespace: ICanBoogie\HTTP
Located at Helpers.php

Methods summary

public static mixed
# __callStatic( string $name, array $arguments )

Calls the callback of a patchable function.

Calls the callback of a patchable function.

Parameters

$name
Name of the function.
$arguments
Arguments.

Returns

mixed
public static callable
# patch( string $name, callable $callback )

Patches a patchable function.

Patches a patchable function.

Parameters

$name
Name of the function.
$callback
Callback.

Returns

callable
Previous callable.

Throws

LogicException
in attempt to patch an undefined function.
ICanBoogie/HTTP v2.4.0 API documentation generated by ApiGen