runff 1.0 commit
This commit is contained in:
17
lib/aws/JmesPath/JmesPath.php
Normal file
17
lib/aws/JmesPath/JmesPath.php
Normal 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|null
|
||||
*/
|
||||
if (!function_exists(__NAMESPACE__ . '\search')) {
|
||||
function search($expression, $data)
|
||||
{
|
||||
return Env::search($expression, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user