PHP Interface Neomerx\JsonApi\Contracts\Factories\FactoryInterface

Inheritance: extends Neomerx\JsonApi\Contracts\Document\DocumentFactoryInterface, extends Neomerx\JsonApi\Contracts\Encoder\Parser\ParserFactoryInterface, extends Neomerx\JsonApi\Contracts\Encoder\Stack\StackFactoryInterface, extends Neomerx\JsonApi\Contracts\Encoder\Handlers\HandlerFactoryInterface, extends Neomerx\JsonApi\Contracts\Http\HttpFactoryInterface, extends Neomerx\JsonApi\Contracts\Schema\SchemaFactoryInterface, extends Psr\Log\LoggerAwareInterface
ファイルを表示 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

Create codec matcher.
public createCodecMatcher ( ) : Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface
return Neomerx\JsonApi\Contracts\Codec\CodecMatcherInterface

createEncoder() public method

Create encoder.
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