ICanBoogie/HTTP v2.6.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Exception
    • HTTP
      • Headers
      • Request
      • RequestDispatcher

Classes

  • CallableDispatcher
  • DispatcherProvider
  • File
  • FileInfo
  • FileList
  • FileResponse
  • Headers
  • ProvideDispatcher
  • RedirectResponse
  • Request
  • RequestDispatcher
  • RequestOptionsMapper
  • RequestRange
  • Response
  • Status
  • WeightedDispatcher

Interfaces

  • Dispatcher
  • Exception
  • FileOptions
  • RequestMethods
  • RequestOptions
  • ResponseStatus
  • SecurityError

Exceptions

  • AuthenticationRequired
  • ClientError
  • DispatcherNotDefined
  • DispatcherProviderNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • PermissionRequired
  • ServerError
  • ServiceUnavailable
  • StatusCodeNotValid

Functions

  • dispatch
  • get_dispatcher
  • get_initial_request

Class DispatcherProvider

Provides a ICanBoogie\HTTP\Dispatcher instance.

Namespace: ICanBoogie\HTTP
Located at DispatcherProvider.php

Methods summary

public static callable|null
# defined( )

Whether a provider if defined.

Whether a provider if defined.

Returns

callable|null
public static callable|null
# define( callable $provider )

Defines the ICanBoogie\HTTP\Dispatcher provider.

Defines the ICanBoogie\HTTP\Dispatcher provider.

Parameters

$provider

Returns

callable|null
The previous provider, or null if none was defined before.
public static
# undefine( )

Undefine the ICanBoogie\HTTP\Dispatcher provider.

Undefine the ICanBoogie\HTTP\Dispatcher provider.

public static ICanBoogie\HTTP\Dispatcher
# provide( )

Returns a ICanBoogie\HTTP\Dispatcher instance using the provider.

Returns a ICanBoogie\HTTP\Dispatcher instance using the provider.

Returns

ICanBoogie\HTTP\Dispatcher

Throws

ICanBoogie\HTTP\DispatcherProviderNotDefined
if no provider is defined.
ICanBoogie/HTTP v2.6.0 API documentation generated by ApiGen