package
|
HttpSource
|
subpackage
|
Config
|
Methods
Constructor
__construct(\HttpSourceConfigFactory $ConfigFactory)
inherited
Typecast to string
__toString() : string
inherited
Sets or gets condition default value
defaults(mixed $value = null) : \HttpSourceCondition
Retunrn config factory
getConfigFactory() : \HttpSourceConfigFactory
inherited
Returns all data types
getDataTypes() : array
static
Returns all send in types
getSendInTypes() : array
static
Return current key value
key() : string
Set condition as primary key
keyPrimary() : \HttpSourceCondition
Sets or gets condition length
length(integer $length = null) : \HttpSourceCondition
Get or set callback and new name
map(callable $callback = null, \= $map_to_name) : \HttpSourceCondition
Arguments
Response
\HttpSourceCondition
Set or get callback
map(callable $callback = null) : \HttpSourceEndpointItem
inherited
Get mapToName or name
mapToName()
inherited
True if condition must be in body or query depends on current endpoint
mustSendInAny() : boolean
True if condition must be in body
mustSendInBody() : boolean
True if condition must be in query
mustSendInQuery() : boolean
True if condition must be virtial
mustSendInVirtual() : boolean
Set or get field name
name(\= $name) : \HttpSourceCondition
Arguments
Response
\HttpSourceCondition
Set or get field name
name(string $name = null) : \HttpSourceField
inherited
Mark condition as required or not
If $null = null returns current value
null(boolean $null = null) : \HttpSourceCondition
Mark condition as required
required() : \HttpSourceCondition
Set force send in body or query, depends on current endpoint
sendInAny() : \HttpSourceCondition
Set force send in body
sendInBody() : \HttpSourceCondition
Set force send in query
sendInQuery() : \HttpSourceCondition
Set condition force to virtual
sendInVirtual() : \HttpSourceCondition
Returns condition type
type() : string
Set type to bool
typeBool() : \HttpSourceCondition
Set type to bool
typeBoolean() : \HttpSourceCondition
Set type to float
typeFloat() : \HttpSourceCondition
Set type to int
typeInt() : \HttpSourceCondition
Set type to int
typeInteger() : \HttpSourceCondition
Set type to string
typeString() : \HttpSourceCondition
Set type to text
typeText() : \HttpSourceCondition
Constants
Send in constants
SEND_IN_ANY
SEND_IN_QUERY
SEND_IN_QUERY
SEND_IN_BODY
SEND_IN_BODY
SEND_IN_VIRTUAL
SEND_IN_VIRTUAL
Available keys
KEY_PRIMARY
Properties
Condition type
_type : string
True if condition required, false otherwise
Used to describe model and build request
_null : boolean
Max length of conditions
Used to describe model
_length : integer
Key type, actually supports only 'primary'
Used to describe model
_key : string
Default condition value
Used to describe model and build request
_default : mixed
Sepecified where to place condition - in body, in query
or any - depends on current endpoint
_sendIn : string
Field name
_name : string
inherited
New field name
_mapToName : string
inherited
Holds callback
_map : callable
inherited
Config factory instance
_ConfigFactory : \HttpSourceConfigFactory
inherited