![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/aws/aws-sdk-php/src/ |
<?php namespace Aws; /** * Represents an AWS result object that is returned from executing an operation. */ interface ResultInterface extends \ArrayAccess, \IteratorAggregate, \Countable { /** * Provides debug information about the result object * * @return string */ public function __toString(); /** * Convert the result to an array. * * @return array */ public function toArray(); /** * Check if the model contains a key by name * * @param string $name Name of the key to retrieve * * @return bool */ public function hasKey($name); /** * Get a specific key value from the result model. * * @param string $key Key to retrieve. * * @return mixed|null Value of the key or NULL if not found. */ public function get($key); /** * Returns the result of executing a JMESPath expression on the contents * of the Result model. * * $result = $client->execute($command); * $jpResult = $result->search('foo.*.bar[?baz > `10`]'); * * @param string $expression JMESPath expression to execute * * @return mixed Returns the result of the JMESPath expression. * @link http://jmespath.readthedocs.org/en/latest/ JMESPath documentation */ public function search($expression); };