ICanBoogie
  • Documentation
  • API Reference
  • HTTP master
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

Class RequestOptionsMapper

Maps options to the environment.

ICanBoogie\HTTP\RequestOptionsMapper implements ICanBoogie\HTTP\RequestOptions
Namespace: ICanBoogie\HTTP
Located at RequestOptionsMapper.php

Methods summary

public map( array & $options, array & $env )

Maps options to environment.

Maps options to environment.

The options mapped to the environment are removed from the $options array.

Parameters

$options
Reference to the options.
$env
Reference to the environment.

Throws

InvalidArgumentException
on invalid option.
protected get_mappers( void ) : Closure[]

Returns request properties mappers.

Returns request properties mappers.

Returns

Closure[]

Constants summary

Constants inherited from ICanBoogie\HTTP\RequestOptions

OPTION_CACHE_CONTROL, OPTION_CONTENT_LENGTH, OPTION_COOKIE, OPTION_FILES, OPTION_HEADERS, OPTION_IP, OPTION_IS_CONNECT, OPTION_IS_DELETE, OPTION_IS_GET, OPTION_IS_HEAD, OPTION_IS_LOCAL, OPTION_IS_OPTIONS, OPTION_IS_PATCH, OPTION_IS_POST, OPTION_IS_PUT, OPTION_IS_TRACE, OPTION_IS_XHR, OPTION_METHOD, OPTION_PATH, OPTION_PATH_PARAMS, OPTION_QUERY_PARAMS, OPTION_REFERER, OPTION_REQUEST_PARAMS, OPTION_URI, OPTION_USER_AGENT

HTTP master – Check on GitHub – API documentation generated by ApiGen