Overview

Namespaces

  • Deimos
    • Request
      • Adapter
  • PHP

Traits

  • Data
  • Other
  • Query
  • Request
  • Router
  • Server
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Trait Request

Class Request

Direct Known Users

Deimos\Request\RequestExtension
Namespace: Deimos\Request\Adapter
Package: Deimos\Request\Adapter
Located at Request/Adapter/Request.php
Methods summary
public mixed
# request( string $path = null, mixed $default = null, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

mixed
public mixed
# requestRequired( string $path = null, boolean $strip = true )

Parameters

$path
$strip

Returns

mixed

Throws

Deimos\Helper\Exceptions\ExceptionEmpty
Magic methods summary
public integer
# requestInt( string $path = null, mixed $default, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

integer
public float
# requestFloat( string $path = null, mixed $default = 0.0, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

float
public boolean
# requestBool( string $path = null, mixed $default = false, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

boolean
public string
# requestEmail( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public string
# requestIP( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public string
# requestURL( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public mixed
# requestUnsafe( string $path = null, mixed $default = '' )

Parameters

$path
$default

Returns

mixed
API documentation generated by ApiGen