28 lines
597 B
PHP
28 lines
597 B
PHP
<?php
|
|
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
namespace FacebookPixelPlugin\FacebookAds\Object\CustomAudienceNormalizers;
|
|
|
|
interface ValueNormalizerInterface {
|
|
|
|
/**
|
|
* @param string $key
|
|
* @param string $key_value
|
|
* @return boolean
|
|
*/
|
|
public function shouldNormalize($key, $val);
|
|
|
|
/**
|
|
* @param string $key
|
|
* @param string $key_value
|
|
* @return string
|
|
*/
|
|
public function normalize($key, $val);
|
|
}
|