You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
390 B
17 lines
390 B
<?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);
|
|
}
|
|
}
|
|
|