Server IP : 172.67.158.161 / Your IP : 3.12.153.19 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/duplicator-pro/aws/Guzzle/Service/Command/LocationVisitor/Response/ |
Upload File : |
<?php namespace DuplicatorPro\Guzzle\Service\Command\LocationVisitor\Response; use DuplicatorPro\Guzzle\Http\Message\Response; use DuplicatorPro\Guzzle\Service\Description\Parameter; use DuplicatorPro\Guzzle\Service\Command\CommandInterface; /** * Location visitor used to parse values out of a response into an associative array */ interface ResponseVisitorInterface { /** * Called before visiting all parameters. This can be used for seeding the result of a command with default * data (e.g. populating with JSON data in the response then adding to the parsed data). * * @param CommandInterface $command Command being visited * @param array $result Result value to update if needed (e.g. parsing XML or JSON) */ public function before(CommandInterface $command, array &$result); /** * Called after visiting all parameters * * @param CommandInterface $command Command being visited */ public function after(CommandInterface $command); /** * Called once for each parameter being visited that matches the location type * * @param CommandInterface $command Command being visited * @param Response $response Response being visited * @param Parameter $param Parameter being visited * @param mixed $value Result associative array value being updated by reference * @param mixed $context Parsing context */ public function visit( CommandInterface $command, Response $response, Parameter $param, &$value, $context = null ); }