Skip to content

Instantly share code, notes, and snippets.

@richcaudle
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richcaudle/cd6ea20f2490a687dccf to your computer and use it in GitHub Desktop.
Save richcaudle/cd6ea20f2490a687dccf to your computer and use it in GitHub Desktop.
<?php
// Compiles a stream from a CSDL definition, looking for all mentions of brands
$csdl = 'interaction.content contains_any "Calvin Klein, GQ, Adidas"';
$filter = $client->createDefinition($csdl);
echo "Filter hash: " . $filter->getHash().PHP_EOL;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment