All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
18 lines
373 B
PHP
18 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);
|
|
}
|
|
}
|