Neomerx\JsonApi\Contracts\Encoder\EncoderInterface::withJsonApiVersion PHP Method

withJsonApiVersion() public method

If called JSON API version information with optional meta will be added to a document.
See also: http://jsonapi.org/format/#document-jsonapi-object
public withJsonApiVersion ( mixed | null $meta = null ) : Neomerx\JsonApi\Contracts\Encoder\EncoderInterface
$meta mixed | null
return Neomerx\JsonApi\Contracts\Encoder\EncoderInterface
    public function withJsonApiVersion($meta = null);