This commit is contained in:
Javier Casares 2026-02-03 15:55:48 +00:00
commit e6299a3e14
3090 changed files with 140669 additions and 2 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);
}
}