This commit is contained in:
Javier Casares 2025-11-26 13:39:30 +00:00
commit 27aae99d99
2996 changed files with 130406 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<?php
namespace JmesPath;
/**
* Returns data from the input array that matches a JMESPath expression.
*
* @param string $expression Expression to search.
* @param mixed $data Data to search.
*
* @return mixed
*/
if (!function_exists(__NAMESPACE__ . '\search')) {
function search($expression, $data)
{
return Env::search($expression, $data);
}
}