HttpSourceField

Extends \HttpSourceEndpointItem

Http source endpoint field

package

HttpSource

subpackage

Config

Methods

Constructor

__construct(\HttpSourceConfigFactory $ConfigFactory) 
inherited

Arguments

$ConfigFactory

\HttpSourceConfigFactory

Config factory instance

Typecast to string

__toString() : string

Response

string

Retunrn config factory

getConfigFactory() : \HttpSourceConfigFactory
inherited

Set or get callback

map(callable $callback = null) : \HttpSourceEndpointItem
inherited

Arguments

$callback

callable

Response

\HttpSourceEndpointItem

Get mapToName or name

mapToName() 

Set or get field name

name(string $name = null) : \HttpSourceField
throws

Arguments

$name

string

Response

\HttpSourceField

Properties

Field name

_name : string
var

Type(s)

string

New field name

_mapToName : string
var

Type(s)

string

Holds callback

_map : callable
inherited
var

Type(s)

callable

Config factory instance

_ConfigFactory : \HttpSourceConfigFactory
inherited