OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
zzXpress
/
vendor
/
wildbit
/
postmark-php
/
src
/
Postmark
/
Models
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:24 AM
rwxr-xr-x
📄
CaseInsensitiveArray.php
2.67 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
DataRemovalRequestResponse.php
785 bytes
05/19/2025 10:07:24 AM
rw-r--r--
📄
DynamicResponseModel.php
1.95 KB
05/19/2025 10:07:24 AM
rw-r--r--
📁
MessageStream
-
05/19/2025 10:07:24 AM
rwxr-xr-x
📄
PostmarkAddressFull.php
1.43 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkAgentInfo.php
1.1 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkAttachment.php
1.57 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkBounce.php
6.51 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkBounceActivation.php
1.08 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkBounceDump.php
450 bytes
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkBounceList.php
1.03 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkBounceSummary.php
1.07 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkClick.php
3.52 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkClickList.php
1.12 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkDeliveryStats.php
1.08 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkDomain.php
2.29 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkDomainDetails.php
5.41 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkDomainList.php
1.04 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkException.php
1.11 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkGeographyInfo.php
2.54 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkInboundMessage.php
9.66 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkInboundMessageList.php
1.27 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkInboundRuleTrigger.php
759 bytes
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkInboundRuleTriggerList.php
1.16 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkMessage.php
1.22 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkMessageBase.php
4.44 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkMessageDump.php
415 bytes
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkMessageEvent.php
1.74 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkMessageEventDetails.php
3.63 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkMessageEvents.php
799 bytes
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkOpen.php
3.2 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkOpenList.php
1.1 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkOutboundMessage.php
4.28 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkOutboundMessageDetail.php
1.73 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkOutboundMessageList.php
1.18 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkResponse.php
2.44 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkSenderSignature.php
12.03 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkSenderSignatureList.php
1.24 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkServer.php
8.25 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkServerList.php
1.14 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkTemplate.php
3.74 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
PostmarkTemplateList.php
1.18 KB
05/19/2025 10:07:24 AM
rw-r--r--
📁
Stats
-
05/19/2025 10:07:24 AM
rwxr-xr-x
📁
Suppressions
-
05/19/2025 10:07:24 AM
rwxr-xr-x
📄
TemplateValidationResponse.php
12.44 KB
05/19/2025 10:07:24 AM
rw-r--r--
📄
TemplatedPostmarkMessage.php
1.74 KB
05/19/2025 10:07:24 AM
rw-r--r--
📁
Webhooks
-
05/19/2025 10:07:24 AM
rwxr-xr-x
Editing: DynamicResponseModel.php
Close
<?php namespace Postmark\Models; use ReturnTypeWillChange; /** * The DynamicResponseModel class allows flexible and forgiving access to responses from the Postmark API. * * Most responses from the PostmarkClient return a DynamicResponseModel, so understanding how it works is useful. * * Essentially, you can use either object or array index notation to lookup values. The member names are case insensitive, * so that each of these are acceptable ways of accessing "id" on a server response, for example: * * ``` * //Create a client instance and get server info. * $client = new PostmarkClient($server_token); * $server = $client->getServer(); * * //You have many ways of accessing the same members: * $server->id; * $server->Id; * $server["id"]; * $server["ID"]; * ``` */ class DynamicResponseModel extends CaseInsensitiveArray { /** * Create a new DynamicResponseModel from an associative array. * * @param array $data the source associative array */ public function __construct(array $data) { parent::__construct($data); } /** * Infrastructure. Get an element by name. * * @param mixed $name name of element to get from the dynamic response model */ public function __get($name) { $value = $this[$name]; // If there's a value and it's an array, // convert it to a dynamic response object, too. if (null != $value && is_array($value)) { $value = new DynamicResponseModel($value); } return $value; } /** * Infrastructure. Allows indexer to return a DynamicResponseModel. */ #[ReturnTypeWillChange] public function offsetGet($offset) { $result = parent::offsetGet($offset); if (null != $result && is_array($result)) { $result = new DynamicResponseModel($result); } return $result; } }