Source of file WithNullableFields.php

Size: 0,527 Bytes - Last Modified: 2019-08-09T18:27:54+00:00

/home/travis/build/zerospam/sdk-framework/src/Request/Api/WithNullableFields.php

123456789101112131415161718192021222324252627282930313233
<?php
/**
 * Created by PhpStorm.
 * User: aaflalo
 * Date: 18-07-12
 * Time: 09:44
 */

namespace ZEROSPAM\Framework\SDK\Request\Api;

interface WithNullableFields
{

    /**
     * Is the given field nullable
     *
     * @param $field
     *
     * @return bool
     */
    public function isNullable($field);

    /**
     * Check if the given field is nullable and if it should be included in the request
     *
     * @param $field
     *
     * @return bool
     *
     */
    public function isValueChanged($field);
}