Submit
Path:
~
/
/
proc
/
self
/
root
/
opt
/
psa
/
admin
/
plib
/
modules
/
letsencrypt
/
vendor
/
aws
/
aws-sdk-php
/
src
/
S3
/
Parser
/
File Content:
S3ResultMutator.php
<?php namespace PleskLetsEncrypt\Aws\S3\Parser; use PleskLetsEncrypt\Aws\CommandInterface; use PleskLetsEncrypt\Aws\ResultInterface; use Psr\Http\Message\ResponseInterface; /** * Interface for S3 result mutator implementations. * A S3 result mutator is meant for modifying a request * result before returning it to the user. * One example is if a custom field is needed to be injected * into the result or if an existent field needs to be modified. * Since the command and the response itself are parameters when * invoking the mutators then, this facilitates to make better * decisions that may involve validations using the command parameters * or response fields, etc. * * @internal */ interface S3ResultMutator { /** * @param ResultInterface $result the result object to be modified. * @param CommandInterface $command the command that originated the request. * @param ResponseInterface $response the response resulting from the request. * * @return ResultInterface */ public function __invoke(ResultInterface $result, CommandInterface $command, ResponseInterface $response) : ResultInterface; }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
GetBucketLocationResultMutator.php
1079 bytes
0644
S3Parser.php
7753 bytes
0644
S3ResultMutator.php
1152 bytes
0644
ValidateResponseChecksumResultMutator.php
5556 bytes
0644
N4ST4R_ID | Naxtarrr