mirror of
https://gh.wpcy.net/https://github.com/pixelabs-wp/whitelabel-plugins-update-server.git
synced 2026-04-18 04:02:15 +08:00
17 lines
373 B
PHP
17 lines
373 B
PHP
<?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);
|
|
}
|
|
}
|