Neomerx\JsonApi\Contracts\Encoder\EncoderInterface::encodeError PHP Méthode

encodeError() public méthode

Encode error as JSON API string.
public encodeError ( Neomerx\JsonApi\Contracts\Document\ErrorInterface $error ) : string
$error Neomerx\JsonApi\Contracts\Document\ErrorInterface
Résultat string
    public function encodeError(ErrorInterface $error);