PHP Class Drahak\Restful\Mapping\MapperContext

Author: Drahomír Hanák
Inheritance: extends Nette\Object
Mostrar archivo Open project: drahak/restful Class Usage Examples

Protected Properties

Property Type Description
$services array

Public Methods

Method Description
addMapper ( string $contentType, Drahak\Restful\Mapping\IMapper $mapper ) Add mapper
getMapper ( string $contentType ) : Drahak\Restful\Mapping\IMapper Get mapper

Method Details

addMapper() public method

Add mapper
public addMapper ( string $contentType, Drahak\Restful\Mapping\IMapper $mapper )
$contentType string
$mapper Drahak\Restful\Mapping\IMapper

getMapper() public method

Get mapper
public getMapper ( string $contentType ) : Drahak\Restful\Mapping\IMapper
$contentType string in format mimeType[; charset=utf8]
return Drahak\Restful\Mapping\IMapper

Property Details

$services protected_oe property

protected array $services
return array