PHP Interface Neomerx\JsonApi\Contracts\Factories\FactoryInterface
Mostra file
Open project: neomerx/json-api
Interface Usage Examples
Public Methods
Method |
Description |
|
createCodecMatcher ( ) : Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface |
Create codec matcher. |
|
createEncoder ( Neomerx\JsonApi\Contracts\Schema\ContainerInterface $container, Neomerx\JsonApi\Encoder\EncoderOptions $encoderOptions = null ) : Neomerx\JsonApi\Contracts\Encoder\EncoderInterface |
Create encoder. |
|
Method Details
createCodecMatcher()
public method
public createCodecMatcher ( ) : Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface |
return |
Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface |
|
createEncoder()
public method
public createEncoder ( Neomerx\JsonApi\Contracts\Schema\ContainerInterface $container, Neomerx\JsonApi\Encoder\EncoderOptions $encoderOptions = null ) : Neomerx\JsonApi\Contracts\Encoder\EncoderInterface |
$container |
Neomerx\JsonApi\Contracts\Schema\ContainerInterface |
|
$encoderOptions |
Neomerx\JsonApi\Encoder\EncoderOptions |
|
return |
Neomerx\JsonApi\Contracts\Encoder\EncoderInterface |
|